upgrade packages
This commit is contained in:
@@ -822,9 +822,9 @@ class _CartonEditorState extends State<CartonEditor> {
|
||||
return;
|
||||
}
|
||||
|
||||
double l = double.parse(_lengthController.text, (s) => 0);
|
||||
double w = double.parse(_widthController.text, (s) => 0);
|
||||
double h = double.parse(_heightController.text, (s) => 0);
|
||||
double l = double.parse(_lengthController.text);
|
||||
double w = double.parse(_widthController.text);
|
||||
double h = double.parse(_heightController.text);
|
||||
|
||||
Carton carton = Carton();
|
||||
carton.id = _carton!.id;
|
||||
|
||||
@@ -73,7 +73,7 @@ class _TotalWeightEditState extends State<TotalWeightEdit> {
|
||||
_loading = true;
|
||||
});
|
||||
try {
|
||||
double total = double.parse(totalController.text, (s) => 0);
|
||||
double total = double.parse(totalController.text);
|
||||
Navigator.pop<double>(context, total);
|
||||
} catch (e) {
|
||||
showMsgDialog(context, "Error", e.toString());
|
||||
|
||||
Reference in New Issue
Block a user