add length picker
This commit is contained in:
@@ -77,17 +77,28 @@ class _ReceivingEditorState extends State<ReceivingEditor> {
|
||||
final trackingIDBox = Container(
|
||||
padding: EdgeInsets.only(left: 6),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: InputText(
|
||||
iconData: MaterialCommunityIcons.barcode_scan,
|
||||
labelTextKey: "receiving.tracking.id",
|
||||
controller: _trackingIDCtl,
|
||||
)),
|
||||
IconButton(
|
||||
icon: Icon(MaterialCommunityIcons.barcode_scan,
|
||||
color: primaryColor),
|
||||
onPressed: _scan,
|
||||
InkWell(
|
||||
onTap: _scan,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Column(
|
||||
children: [
|
||||
Icon(
|
||||
MaterialCommunityIcons.barcode_scan,
|
||||
color: primaryColor,
|
||||
),
|
||||
Text("Scan")
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
));
|
||||
@@ -106,11 +117,6 @@ class _ReceivingEditorState extends State<ReceivingEditor> {
|
||||
labelTextKey: "receiving.name",
|
||||
iconData: Icons.person,
|
||||
);
|
||||
final phoneNumberBox = DisplayText(
|
||||
text: user != null ? user.phoneNumber : "",
|
||||
labelTextKey: "receiving.phone",
|
||||
iconData: Icons.phone,
|
||||
);
|
||||
|
||||
final createButton = fcsButton(
|
||||
context,
|
||||
@@ -150,13 +156,12 @@ class _ReceivingEditorState extends State<ReceivingEditor> {
|
||||
SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
img,
|
||||
remarkBox,
|
||||
img,
|
||||
SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
fcsIDBox,
|
||||
phoneNumberBox,
|
||||
namebox,
|
||||
SizedBox(
|
||||
height: 20,
|
||||
|
||||
Reference in New Issue
Block a user