withdraw done
This commit is contained in:
@@ -34,6 +34,9 @@ class RouteName {
|
||||
|
||||
//Wallet details
|
||||
static const String walletDetails = 'walletDetails';
|
||||
static const String withdrawalScreen = 'withdrawalScreen';
|
||||
static const String withdrawalPreview = 'withdrawalPreview';
|
||||
static const String withdrawalConfirmation = 'withdrawalConfirmation';
|
||||
|
||||
//Biometric
|
||||
static const String biometricScreen = 'biometricScreen';
|
||||
|
||||
@@ -6,6 +6,9 @@ import 'package:tanami_app/features/MainScreens/Academy/presentation/pages/acade
|
||||
|
||||
import 'package:tanami_app/features/MainScreens/Portfolio/presentation/pages/portfolio_details_screen.dart';
|
||||
import 'package:tanami_app/features/MainScreens/Wallet/presentation/pages/walletDetails.dart';
|
||||
import 'package:tanami_app/features/MainScreens/Wallet/presentation/pages/withdrawal/confirmation.dart';
|
||||
import 'package:tanami_app/features/MainScreens/Wallet/presentation/pages/withdrawal/preview.dart';
|
||||
import 'package:tanami_app/features/MainScreens/Wallet/presentation/pages/withdrawal/withdrawalScreen.dart';
|
||||
|
||||
import 'package:tanami_app/features/biometric/presentation/pages/biometric_screen.dart';
|
||||
import 'package:tanami_app/features/changePassword/presentation/pages/change_password_screen.dart';
|
||||
@@ -165,6 +168,27 @@ final goRouter = GoRouter(
|
||||
type: state.pathParameters["type"]!,
|
||||
);
|
||||
}),
|
||||
GoRoute(
|
||||
name: RouteName.withdrawalScreen,
|
||||
path: RouteName.withdrawalScreen,
|
||||
builder: (context, state) {
|
||||
return const WithdrawalScreen();
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
name: RouteName.withdrawalPreview,
|
||||
path: RouteName.withdrawalPreview,
|
||||
builder: (context, state) {
|
||||
return const WithdrawalPreview();
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
name: RouteName.withdrawalConfirmation,
|
||||
path: RouteName.withdrawalConfirmation,
|
||||
builder: (context, state) {
|
||||
return const WithdrawalConfirmation();
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
name: RouteName.contactAdminScreen,
|
||||
path: RouteName.contactAdminScreen,
|
||||
|
||||
Reference in New Issue
Block a user