forked from yaso_meth/mih-project
add card images to display
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user