upgrade packages
This commit is contained in:
@@ -72,9 +72,9 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
|
||||
}
|
||||
|
||||
_calShipmentWeight() {
|
||||
double l = double.parse(_lengthCtl.text, (s) => 0);
|
||||
double w = double.parse(_widthCtl.text, (s) => 0);
|
||||
double h = double.parse(_heightCtl.text, (s) => 0);
|
||||
double l = double.parse(_lengthCtl.text);
|
||||
double w = double.parse(_widthCtl.text);
|
||||
double h = double.parse(_heightCtl.text);
|
||||
setState(() {
|
||||
shipmentWeight = (l * w * h / volumetricRatio).ceilToDouble();
|
||||
});
|
||||
@@ -296,9 +296,9 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
|
||||
}
|
||||
|
||||
_creatCarton() {
|
||||
double l = double.parse(_lengthCtl.text, (s) => 0);
|
||||
double w = double.parse(_widthCtl.text, (s) => 0);
|
||||
double h = double.parse(_heightCtl.text, (s) => 0);
|
||||
double l = double.parse(_lengthCtl.text);
|
||||
double w = double.parse(_widthCtl.text);
|
||||
double h = double.parse(_heightCtl.text);
|
||||
_box!.length = l;
|
||||
_box!.width = w;
|
||||
_box!.height = h;
|
||||
|
||||
Reference in New Issue
Block a user