add wallet tile to home

This commit is contained in:
2024-11-25 12:13:28 +02:00
parent 75cb1496c5
commit 4e413b11a0

View File

@@ -137,6 +137,29 @@ class _MIHHomeState extends State<MIHHome> {
p: getPrim(),
s: getSec(),
));
tileList.add(MIHTile(
onTap: () {
Navigator.of(context).pushNamed(
'/mzansi-wallet',
arguments: widget.signedInUser,
);
},
tileName: "Mzansi Wallet",
tileIcon: Center(
child: FaIcon(
FontAwesomeIcons.wallet,
color: getSec(),
size: 200,
),
),
// Icon(
// Icons.info_outline,
// color: getSec(),
// size: 230,
// ),
p: getPrim(),
s: getSec(),
));
tileList.add(MIHTile(
videoID: "NUDdoWrbXNc",
onTap: () {
@@ -206,29 +229,7 @@ class _MIHHomeState extends State<MIHHome> {
p: getPrim(),
s: getSec(),
));
tileList.add(MIHTile(
onTap: () {
Navigator.of(context).pushNamed(
'/mzansi-wallet',
arguments: widget.signedInUser,
);
},
tileName: "Mzansi Wallet",
tileIcon: Center(
child: FaIcon(
FontAwesomeIcons.wallet,
color: getSec(),
size: 200,
),
),
// Icon(
// Icons.info_outline,
// color: getSec(),
// size: 230,
// ),
p: getPrim(),
s: getSec(),
));
tileList.add(MIHTile(
videoID: "hbKhlmY_56U",
onTap: () {