add route to mzansi wallet
This commit is contained in:
parent
93f612dec0
commit
2b5655b409
1 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import 'package:Mzansi_Innovation_Hub/mih_packages/mzansi_wallet/mzansi_wallet.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import '../mih_components/mih_layout/mih_print_prevew.dart';
|
||||
import '../mih_components/mih_pop_up_messages/mih_notification_message.dart';
|
||||
|
|
@ -70,6 +71,7 @@ class RouteGenerator {
|
|||
settings: settings, builder: (_) => const ForgotPassword());
|
||||
//http://mzansi-innovation-hub.co.za/auth/reset-password
|
||||
//===============================================================
|
||||
|
||||
//About MIH
|
||||
case '/about':
|
||||
return MaterialPageRoute(
|
||||
|
|
@ -157,6 +159,20 @@ class RouteGenerator {
|
|||
return _errorRoute();
|
||||
//===============================================================
|
||||
|
||||
// /mzansi wallet
|
||||
case '/mzansi-wallet':
|
||||
if (args is AppUser) {
|
||||
//print("route generator: $args");
|
||||
return MaterialPageRoute(
|
||||
settings: settings,
|
||||
builder: (_) => MzansiWallet(
|
||||
signedInUser: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
return _errorRoute();
|
||||
//===============================================================
|
||||
|
||||
// Access Review Page
|
||||
case '/access-review':
|
||||
if (args is AppUser) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue