Payout, payin , moves between wallets in same user, childScreens, transactions , card children block and unblock

This commit is contained in:
2026-02-17 20:54:14 +01:00
parent a221b7a71e
commit 2ba83a22ac
206 changed files with 23790 additions and 2216 deletions

View File

@@ -12,10 +12,20 @@ class AppRoutes {
static const dashboard = '/dashboard';
static const dashboardHome = '$dashboard/home';
static const dashboardHomeChildWallet = '$dashboardHome/child-wallet/:childWalletId';
static String childWallet(String childWalletId) => '$dashboardHome/child-wallet/$childWalletId';
static String allowance(String childWalletId) => '${childWallet(childWalletId)}/allowance';
static String deposit(String childWalletId) => '${childWallet(childWalletId)}/deposit';
static String lockCard(String childWalletId) => '${childWallet(childWalletId)}/lock-card';
static String limits(String childWalletId) => '${childWallet(childWalletId)}/limits';
static String goals(String childWalletId) => '${childWallet(childWalletId)}/goals';
static String extract(String childWalletId) => '${childWallet(childWalletId)}/extract';
static const dashboardActivity = '$dashboard/activity';
static const dashboardNotifications = '$dashboard/notifications';
static const dashboardProfile = '$dashboard/profile';
static const dashboardProfileSettings = '$dashboardProfile/settings';
static const dashboardProfilePayout = '$dashboardProfile/payout';
static const dashboardProfilePaymentMethods = '$dashboardProfileSettings/payment-methods';
static const hipayWebView = '/hipay_webview';

View File

@@ -3,7 +3,7 @@ import 'package:go_router/go_router.dart';
abstract class NavigationContract {
void setRouter(GoRouter goRouter);
void goTo(String path);
void pushTo(String path);
void pushTo(String path, {Object? extra});
void goBack();
}
@@ -21,8 +21,8 @@ class Navigation implements NavigationContract {
}
@override
void pushTo(String path) {
router.push(path);
void pushTo(String path, {Object? extra}) {
router.push(path, extra: extra);
}
@override