update widgets

This commit is contained in:
Sai Naw Wun
2020-10-14 10:33:14 +06:30
parent 8f5542c4fb
commit fa49b6a202
4 changed files with 149 additions and 198 deletions

View File

@@ -500,26 +500,22 @@ class _BoxEditorState extends State<BoxEditor> {
widget.box == null
? Container()
: Center(child: nameWidget(_box.packageNumber)),
Container(
padding: EdgeInsets.only(top: 10),
child: TitleWithAddButton(
titleKey: "box.shipment_info",
),
SizedBox(
height: 10,
),
Column(
children: [
shipmentBox,
SizedBox(
height: 10,
),
fcsIDBox,
phoneNumberBox,
namebox,
mixBox,
SizedBox(
height: 10,
),
],
TitleWithAddButton(
titleKey: "box.shipment_info",
),
shipmentBox,
SizedBox(
height: 10,
),
fcsIDBox,
phoneNumberBox,
namebox,
mixBox,
SizedBox(
height: 10,
),
Divider(),
Container(
@@ -582,15 +578,11 @@ class _BoxEditorState extends State<BoxEditor> {
TitleWithAddButton(
titleKey: "box.dimension",
),
Column(
children: [
shipmentWeightBox,
widthBox,
heightBox,
lengthBox,
SizedBox(height: 25),
],
),
shipmentWeightBox,
widthBox,
heightBox,
lengthBox,
SizedBox(height: 25),
Divider(),
Container(
padding: EdgeInsets.only(left: 10, right: 10),