add card images to display
This commit is contained in:
@@ -32,7 +32,7 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: widget.height,
|
height: widget.height,
|
||||||
child: Image.asset('images/loyalty_cards/xtraSavings.png'),
|
child: Image.asset('images/loyalty_cards/checkers_xtra.png'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
@@ -46,6 +46,16 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
case "cotton:on":
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
height: widget.height,
|
||||||
|
child: Image.asset('images/loyalty_cards/cotton_on_perks.png'),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
case "dis-chem":
|
case "dis-chem":
|
||||||
return Row(
|
return Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@@ -66,6 +76,16 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
case "shoprite":
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
height: widget.height,
|
||||||
|
child: Image.asset('images/loyalty_cards/shoprite_xtra.png'),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
case "spar":
|
case "spar":
|
||||||
return Row(
|
return Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
|||||||
Reference in New Issue
Block a user