62 lines
2.5 KiB
Dart
62 lines
2.5 KiB
Dart
class AppRoutes {
|
|
static const splash = '/splash';
|
|
static const login = '/login';
|
|
static const scaTreezor = '/sca_treezor';
|
|
static const signup = '/signup';
|
|
static const onboarding = '/onboarding';
|
|
static const linkPhone = '/request_link_phone';
|
|
static const phoneCode = '/verify_link_phone_code';
|
|
static const deviceSetup = '/device_setup';
|
|
static const recoverPassword = '/recover_password';
|
|
|
|
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';
|
|
|
|
static const legacy = '/legacy';
|
|
|
|
static const customerService = '$legacy/customer_service';
|
|
|
|
static const accountSettings = '$legacy/account_settings';
|
|
static const personalData = '$accountSettings/personal_data';
|
|
static const changePassword = '$accountSettings/change_password';
|
|
static const linkedDevices = '$accountSettings/linked_devices';
|
|
static const appUsers = '$accountSettings/app_users';
|
|
static const deleteAccount = '$accountSettings/delete_account';
|
|
|
|
static const legacyDashboard = '$legacy/dashboard';
|
|
|
|
static const dashboardHub = '$legacyDashboard/hub';
|
|
static const dashboardFunctions = '$legacyDashboard/functions';
|
|
|
|
static const contacts = '$dashboardFunctions/contacts';
|
|
static const remoteConnection = '$dashboardFunctions/remote_connection';
|
|
static const locateDevice = '$dashboardFunctions/locateDevice';
|
|
}
|