add card images to display

This commit is contained in:
2024-11-30 22:07:42 +02:00
parent e44eb254d3
commit 045c4604c2

View File

@@ -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,