insert invoice pages

This commit is contained in:
Thinzar Win
2020-06-02 14:56:51 +06:30
parent abb34ce064
commit 7a8f28dd33
23 changed files with 1366 additions and 200 deletions

View File

@@ -1,5 +1,6 @@
import 'package:fcs/theme/theme.dart';
import 'package:fcs/vo/shipment.dart';
import 'package:fcs/widget/bottom_up_page_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:intl/intl.dart';
@@ -35,11 +36,8 @@ class _ShipmentListRowState extends State<ShipmentListRow> {
padding: EdgeInsets.only(left: 15, right: 15),
child: InkWell(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => ShipmentEditor(shipment: _shipment)),
);
Navigator.of(context)
.push(BottomUpPageRoute(ShipmentEditor(shipment: _shipment)));
},
child: Row(
children: <Widget>[