update package detal list and update cargo type input in carton section
This commit is contained in:
@@ -74,32 +74,38 @@ class PackageSelectionResult extends StatelessWidget {
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: new Padding(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 8.0),
|
||||
child: new Column(
|
||||
child: Column(
|
||||
crossAxisAlignment:
|
||||
CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
new Text(package.trackingID ?? "",
|
||||
style: new TextStyle(
|
||||
Text(package.trackingID ?? "",
|
||||
style: TextStyle(
|
||||
fontSize: 15.0,
|
||||
color: Colors.black)),
|
||||
new Text(
|
||||
package.cartonIds.isEmpty
|
||||
? "-"
|
||||
: "${numberFormatter.format(package.cartonIds.length)} Boxes",
|
||||
style: new TextStyle(
|
||||
Text(
|
||||
package.market != null &&
|
||||
package.market != ""
|
||||
? "${package.market}"
|
||||
: "-",
|
||||
style: TextStyle(
|
||||
fontSize: 15.0,
|
||||
color: Colors.grey),
|
||||
),
|
||||
// Text(
|
||||
// package.cartonIds.isEmpty
|
||||
// ? "-"
|
||||
// : "${numberFormatter.format(package.cartonIds.length)} Boxes",
|
||||
// style: TextStyle(
|
||||
// fontSize: 15.0,
|
||||
// color: Colors.grey),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
package.isChecked
|
||||
? Icon(Icons.check, color: primaryColor)
|
||||
: const SizedBox()
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user