add card images to display
This commit is contained in:
parent
e44eb254d3
commit
045c4604c2
1 changed files with 21 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
|||
children: [
|
||||
SizedBox(
|
||||
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":
|
||||
return Row(
|
||||
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":
|
||||
return Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue