Files
sf-app-platform/packages/navigation/lib/app_routes.dart

70 lines
3.1 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 legacyDashboard = '$legacy/dashboard';
static const controlPanel = '$legacyDashboard/control_panel';
static const customerService = '$controlPanel/customer_service';
static const deviceManagement = '$legacyDashboard/device_management';
static const legacyLocation = '$legacyDashboard/location';
static const contacts = '$deviceManagement/contacts';
static const remoteConnection = '$deviceManagement/remote_connection';
static const locateDevice = '$deviceManagement/locate_device';
static const rewards = '$deviceManagement/rewards';
static const legacyLogin = '$legacy/login';
static const legacySignup = '$legacy/signup';
static const legacyOnboarding = '$legacy/onboarding';
static const legacyLinkPhone = '$legacy/request_link_phone';
static const legacyPhoneCode = '$legacy/verify_link_phone_code';
static const legacyDeviceSetup = '$legacy/device_setup';
static const legacyRecoverPassword = '$legacy/recover_password';
static const accountSettings = '$controlPanel/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';
}