withdraw done

This commit is contained in:
meet2711
2024-06-10 19:47:29 +05:30
parent aad0f3b87b
commit f09ef2b05e
12 changed files with 1211 additions and 103 deletions

View File

@@ -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';

View File

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