update carton filter and merge api for shipment

This commit is contained in:
tzw
2024-03-02 18:15:05 +06:30
parent b1e45debc7
commit c63353636a
22 changed files with 410 additions and 150 deletions

View File

@@ -21,48 +21,51 @@ class UserListRow extends StatelessWidget {
onTap: () {
if (onUserRowSelect != null) onUserRowSelect!(user);
},
child: Row(
children: <Widget>[
Expanded(
child: new Padding(
padding: const EdgeInsets.symmetric(vertical: 16.0),
child: new Row(
children: <Widget>[
new Padding(
padding: new EdgeInsets.symmetric(
horizontal: 32.0 - dotSize / 2),
child: Icon(
Icons.perm_identity,
color: primaryColor,
size: 50,
)),
new Expanded(
child: new Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
new Text(
user.name ?? "",
style: new TextStyle(
fontSize: 15.0, color: Colors.black),
),
new Text(
user.fcsID ?? "",
style: new TextStyle(
fontSize: 13.0, color: Colors.grey),
),
new Text(
user.phoneNumber ?? "",
style: new TextStyle(
fontSize: 13.0, color: Colors.grey),
),
],
child: Padding(
padding: const EdgeInsets.only(left: 15, right: 15),
child: Row(
children: <Widget>[
Expanded(
child: new Padding(
padding: const EdgeInsets.symmetric(vertical: 13.0),
child: new Row(
children: <Widget>[
Icon(
Icons.perm_identity,
color: primaryColor,
size: 30,
),
),
],
new Expanded(
child: Padding(
padding: const EdgeInsets.only(left: 15),
child: new Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
new Text(
user.name ?? "",
style: new TextStyle(
fontSize: 15.0, color: Colors.black),
),
new Text(
user.fcsID ?? "",
style: new TextStyle(
fontSize: 14.0, color: Colors.grey),
),
new Text(
user.phoneNumber ?? "",
style: new TextStyle(
fontSize: 14.0, color: Colors.grey),
),
],
),
),
),
],
),
),
),
),
],
],
),
),
),
),