add package return

This commit is contained in:
Sai Naw Wun
2020-10-20 08:02:29 +06:30
parent 4d0e5b6833
commit 4884311d47
14 changed files with 66 additions and 18 deletions

View File

@@ -140,7 +140,7 @@ class _ProcessingInfoState extends State<ProcessingInfo> {
_package.photoUrls.length == 0 ? Container() : img,
StatusTree(
shipmentHistory: _package.shipmentHistory,
currentStatus: _package.currentStatus),
currentStatus: _package.status),
SizedBox(
height: 20,
)

View File

@@ -81,7 +81,7 @@ class ProcessingListRow extends StatelessWidget {
children: <Widget>[
Padding(
padding: const EdgeInsets.all(3.0),
child: getStatus(package.currentStatus),
child: getStatus(package.status),
),
Padding(
padding: const EdgeInsets.all(0),