Implementation
RouteBase get $appShellRoute => StatefulShellRouteData.$route(
factory: $AppShellRouteExtension._fromState,
branches: [
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/home',
factory: $HomeRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'mealRecord/:recordedDate',
parentNavigatorKey: MealRecordRoute.$parentNavigatorKey,
factory: $MealRecordRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'mealRecordDetail/:mealRecordId',
parentNavigatorKey:
MealRecordDetailRoute.$parentNavigatorKey,
factory: $MealRecordDetailRouteExtension._fromState,
),
],
),
GoRouteData.$route(
path: 'mealRecordPhotoPick',
parentNavigatorKey:
MealRecordPhotoPickRoute.$parentNavigatorKey,
factory: $MealRecordPhotoPickRouteExtension._fromState,
),
GoRouteData.$route(
path: 'mealRecordPhotoPreview/:isFromCamera',
parentNavigatorKey:
MealRecordPhotoPreviewRoute.$parentNavigatorKey,
factory: $MealRecordPhotoPreviewRouteExtension._fromState,
),
],
),
],
),
StatefulShellBranchData.$branch(
initialLocation: DailyRecordShellBranch.$initialLocation,
routes: [
GoRouteData.$route(
path: '/dailyRecord/:dateTime/:isFromSummaryPage',
factory: $DailyRecordRouteExtension._fromState,
),
],
),
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/summary',
factory: $SummaryRouteExtension._fromState,
),
],
),
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/diseaseLearning',
factory: $DiseaseLearningRouteExtension._fromState,
),
],
),
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/message',
factory: $MessageRouteExtension._fromState,
),
],
),
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/my',
factory: $MyRouteExtension._fromState,
),
],
),
StatefulShellBranchData.$branch(
routes: [
GoRouteData.$route(
path: '/debug',
factory: $DebugRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'rehabilitationExercise',
factory: $RehabilitationExerciseRouteExtension._fromState,
),
GoRouteData.$route(
path: 'setting',
factory: $SettingRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'license',
factory: $LicenseRouteExtension._fromState,
),
GoRouteData.$route(
path: 'webView/:url/:title',
factory: $WebViewRouteExtension._fromState,
),
],
),
GoRouteData.$route(
path: 'lessonMovieRoute',
factory: $LessonMovieRouteExtension._fromState,
),
GoRouteData.$route(
path: 'rehabilitationStartPageTablet',
factory:
$RehabilitationStartPageTabletRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'rehabilitationSelfCheckPageTablet',
factory: $RehabilitationSelfCheckPageTabletRouteExtension
._fromState,
),
],
),
GoRouteData.$route(
path: 'rehabilitationCameraSettingPageTablet',
factory: $RehabilitationCameraSettingPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationEndPageTablet',
factory:
$RehabilitationEndPageTabletRouteExtension._fromState,
),
GoRouteData.$route(
path: 'rehabilitationMeasurementPageTabletBefore',
factory:
$RehabilitationMeasurementPageTabletBeforeRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationMeasurementPageTabletAfter',
factory:
$RehabilitationMeasurementPageTabletAfterRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'debugPolar',
factory: $DebugPolarRouteExtension._fromState,
),
GoRouteData.$route(
path: 'instructorRecoding',
parentNavigatorKey:
InstructorRecodingRoute.$parentNavigatorKey,
factory: $InstructorRecodingRouteExtension._fromState,
),
GoRouteData.$route(
path: 'videoCall',
factory: $VideoCallRouteExtension._fromState,
routes: [
GoRouteData.$route(
path: 'videoCallList',
factory: $VideoCallListRouteExtension._fromState,
),
GoRouteData.$route(
path: 'videoCallRoom',
parentNavigatorKey:
VideoCallRoomRoute.$parentNavigatorKey,
factory: $VideoCallRoomRouteExtension._fromState,
),
],
),
GoRouteData.$route(
path: 'rehabilitationCoolDownExerciseStartPageTablet',
factory:
$RehabilitationCoolDownExerciseStartPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationHeartRateDeviceConnectingPageTablet',
factory:
$RehabilitationHeartRateDeviceConnectingPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationHeartRateDeviceWearingPageTablet',
factory:
$RehabilitationHeartRateDeviceWearingPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationVolumeCheckPageTablet',
factory: $RehabilitationVolumeCheckPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationLockCheckPageTablet',
factory: $RehabilitationDeviceSettingPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationExerciseStartPageTablet',
factory: $RehabilitationExerciseStartPageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationWarmUpExercisePageTablet',
factory: $RehabilitationWarmUpExercisePageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationCoolDownExercisePageTablet',
factory:
$RehabilitationCoolDownExercisePageTabletRouteExtension
._fromState,
),
GoRouteData.$route(
path: 'rehabilitationExercisePageTablet',
factory: $RehabilitationExercisePageTabletRouteExtension
._fromState,
),
],
),
],
),
],
);