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

100 lines
4.6 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 String editChildProfile(String childWalletId) =>
'${childWallet(childWalletId)}/edit';
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 dashboardProfileEditPersonalData =
'$dashboardProfileSettings/edit-personal-data';
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 scheduledActivities = '$deviceManagement/scheduled_activities';
static const contacts = '$deviceManagement/contacts';
static const editContact = '$contacts/edit/:contactId';
static String editContactPath(String contactId) =>
'$contacts/edit/$contactId';
static const health = '$deviceManagement/health';
static const remoteConnection = '$deviceManagement/remote_connection';
static const locateDevice = '$deviceManagement/locate_device';
static const rewards = '$deviceManagement/rewards';
static const activityMeter = '$deviceManagement/activity_meter';
static const appsUse = '$deviceManagement/apps_use';
static const doNotDisturb = '$deviceManagement/do_not_disturb';
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';
static const settings = '$controlPanel/settings';
static const alarm = '$settings/alarm';
static const appStore = '$settings/app_store';
static const battery = '$settings/battery';
static const blockPhone = '$settings/block_phone';
static const disableFunctions = '$settings/disable_functions';
static const language = '$settings/language';
static const legacyNotifications = '$settings/legacy_notifications';
static const remoteManagement = '$settings/remote_management';
static const remoteOnOff = '$settings/remote_on_off';
static const smsAlert = '$settings/sms_alert';
static const sosContacts = '$settings/sos_agenda';
static const sound = '$settings/sound';
static const syncClock = '$settings/sync_clock';
static const timezone = '$settings/timezone';
static const wifiSettings = '$settings/wifi_settings';
}