merge
This commit is contained in:
@@ -59,13 +59,12 @@ class _DiscountByWeightListState extends State<DiscountByWeightList> {
|
||||
),
|
||||
floatingActionButton: FloatingActionButton.extended(
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(
|
||||
CupertinoPageRoute(builder: (context) => DiscountByWeightEditor()));
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => DiscountByWeightEditor()));
|
||||
},
|
||||
icon: Icon(Icons.add, color: Colors.white),
|
||||
backgroundColor: primaryColor,
|
||||
label: LocalText(context, 'discount.new',
|
||||
color: Colors.white)),
|
||||
label: LocalText(context, 'discount.new', color: Colors.white)),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: ListView.separated(
|
||||
@@ -80,7 +79,7 @@ class _DiscountByWeightListState extends State<DiscountByWeightList> {
|
||||
onTap: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => DiscountByWeightEditor(
|
||||
discount: discountByWeight)));
|
||||
discountByWeight: discountByWeight)));
|
||||
},
|
||||
child: Container(
|
||||
child: _row("${discountByWeight.weight.toString()} lb",
|
||||
|
||||
Reference in New Issue
Block a user