This commit is contained in:
PhyoThandar
2020-10-14 13:56:03 +06:30
11 changed files with 481 additions and 519 deletions

View File

@@ -72,7 +72,6 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
double l = double.parse(_lengthCtl.text, (s) => 0);
double w = double.parse(_widthCtl.text, (s) => 0);
double h = double.parse(_heightCtl.text, (s) => 0);
print("$l $w $h");
setState(() {
shipmentWeight = l * w * h / volumetricRatio;
});
@@ -129,7 +128,7 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
backgroundColor: Colors.white,
title: LocalText(
context,
_isNew ? "boxes.new" : "box.edit.title",
_isNew ? "boxes.create.title" : "box.edit.title",
fontSize: 20,
color: primaryColor,
),