add shipments

This commit is contained in:
Sai Naw Wun
2020-10-19 05:13:49 +06:30
parent 4f8bde40b0
commit c619ae3f22
57 changed files with 1886 additions and 724 deletions

View File

@@ -25,6 +25,7 @@ class _ReceivingListState extends State<ReceivingList> {
@override
void initState() {
super.initState();
Provider.of<PackageModel>(context, listen: false).initData(false);
}
@override
@@ -81,9 +82,9 @@ class _ReceivingListState extends State<ReceivingList> {
body: new ListView.separated(
separatorBuilder: (context, index) => Divider(
color: Colors.black,
height: 1,
),
scrollDirection: Axis.vertical,
padding: EdgeInsets.only(top: 15),
shrinkWrap: true,
itemCount: packageModel.packages.length,
itemBuilder: (BuildContext context, int index) {