This commit is contained in:
Sai Naw Wun
2020-06-04 01:36:49 +06:30
parent c84e1beb9d
commit 752e38edf2
17 changed files with 1114 additions and 255 deletions

View File

@@ -58,21 +58,29 @@ class _PackageListRowtate extends State<PackageListRow> {
Padding(
padding: const EdgeInsets.only(left: 8.0),
child: new Text(
_package.packageNumber == null
? ''
: _package.packageNumber,
_package.id == null ? '' : _package.id,
style: new TextStyle(
fontSize: 15.0, color: Colors.black),
),
),
Padding(
padding: const EdgeInsets.only(left: 10.0, top: 10),
padding: const EdgeInsets.only(left: 8.0),
child: new Text(
dateFormat.format(_package.arrivedDate),
_package.market == null ? '' : _package.market,
style: new TextStyle(
fontSize: 15.0, color: Colors.black),
),
),
Padding(
padding: const EdgeInsets.only(left: 8.0),
child: new Text(
_package.trackingID == null
? ''
: _package.trackingID,
style: new TextStyle(
fontSize: 15.0, color: Colors.grey),
),
)
),
],
),
),
@@ -84,7 +92,10 @@ class _PackageListRowtate extends State<PackageListRow> {
children: <Widget>[
Padding(
padding: const EdgeInsets.all(0),
child: getStatus(_package.status),
child: new Text(
dateFormat.format(_package.arrivedDate),
style: new TextStyle(fontSize: 15.0, color: Colors.grey),
),
),
Padding(
padding: const EdgeInsets.only(left: 8.0, top: 5, bottom: 5),