add two decimal and add confirm dialog if press back button
This commit is contained in:
@@ -80,7 +80,7 @@ class DiscountListRow extends StatelessWidget {
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
new Text(
|
||||
"${discount.amount ?? ''}",
|
||||
"${discount.amount.toStringAsFixed(2) ?? ''}",
|
||||
style:
|
||||
new TextStyle(fontSize: 15.0, color: Colors.grey),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user