This commit is contained in:
2020-12-03 08:26:58 +06:30
parent c79fab4cc7
commit 57e08502b7
44 changed files with 2631 additions and 419 deletions

View File

@@ -232,7 +232,7 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Text(c.weight == null ? "0" : c.weight.toString(),
Text(c.weight == null ? "0" : c.weight.toStringAsFixed(2),
style: textStyle),
IconButton(
icon: Icon(
@@ -265,7 +265,7 @@ class _ShipmentBoxEditorState extends State<ShipmentBoxEditor> {
padding: const EdgeInsets.only(right: 48.0),
child: Align(
alignment: Alignment.centerRight,
child: Text(total.toString(),
child: Text(total.toStringAsFixed(2),
style: TextStyle(fontWeight: FontWeight.bold))),
),
),