123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // **************************************************************************
- // AutoRouterGenerator
- // **************************************************************************
- // ignore_for_file: type=lint
- // coverage:ignore-file
- // ignore_for_file: no_leading_underscores_for_library_prefixes
- import 'dart:async' as _i24;
- import 'package:auto_route/auto_route.dart' as _i18;
- import 'package:eitc_erm_dental_flutter/entity/clinic_info.dart' as _i23;
- import 'package:eitc_erm_dental_flutter/entity/db/local_patient_info.dart'
- as _i21;
- import 'package:eitc_erm_dental_flutter/entity/history_item_info.dart' as _i22;
- import 'package:eitc_erm_dental_flutter/pages/history/history_page.dart' as _i4;
- import 'package:eitc_erm_dental_flutter/pages/history/photo_view_page.dart'
- as _i9;
- import 'package:eitc_erm_dental_flutter/pages/history/video_player_page.dart'
- as _i14;
- import 'package:eitc_erm_dental_flutter/pages/login/login_page.dart' as _i5;
- import 'package:eitc_erm_dental_flutter/pages/main/main_page.dart' as _i6;
- import 'package:eitc_erm_dental_flutter/pages/patient/add_patient_page.dart'
- as _i1;
- import 'package:eitc_erm_dental_flutter/pages/patient/patient_list_page.dart'
- as _i7;
- import 'package:eitc_erm_dental_flutter/pages/settings/delay_shot_settings_page.dart'
- as _i2;
- import 'package:eitc_erm_dental_flutter/pages/settings/faqs_page.dart' as _i3;
- import 'package:eitc_erm_dental_flutter/pages/settings/settings_page.dart'
- as _i10;
- import 'package:eitc_erm_dental_flutter/pages/splash/splash_page.dart' as _i11;
- import 'package:eitc_erm_dental_flutter/pages/upload/upload_page.dart' as _i12;
- import 'package:eitc_erm_dental_flutter/pages/upload/upload_select_clinic_page.dart'
- as _i13;
- import 'package:eitc_erm_dental_flutter/pages/view/photo_preview_page.dart'
- as _i8;
- import 'package:eitc_erm_dental_flutter/pages/view/video_preview_page.dart'
- as _i15;
- import 'package:eitc_erm_dental_flutter/pages/view/video_view_page.dart'
- as _i16;
- import 'package:eitc_erm_dental_flutter/pages/web/webview_page.dart' as _i17;
- import 'package:flutter/foundation.dart' as _i19;
- import 'package:flutter/material.dart' as _i20;
- import 'package:retrofit/dio.dart' as _i25;
- /// generated route for
- /// [_i1.AddPatientPage]
- class AddPatientRoute extends _i18.PageRouteInfo<void> {
- const AddPatientRoute({List<_i18.PageRouteInfo>? children})
- : super(
- AddPatientRoute.name,
- initialChildren: children,
- );
- static const String name = 'AddPatientRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i1.AddPatientPage();
- },
- );
- }
- /// generated route for
- /// [_i2.DelayShotSettingsPage]
- class DelayShotSettingsRoute extends _i18.PageRouteInfo<void> {
- const DelayShotSettingsRoute({List<_i18.PageRouteInfo>? children})
- : super(
- DelayShotSettingsRoute.name,
- initialChildren: children,
- );
- static const String name = 'DelayShotSettingsRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i2.DelayShotSettingsPage();
- },
- );
- }
- /// generated route for
- /// [_i3.FaqsPage]
- class FaqsRoute extends _i18.PageRouteInfo<void> {
- const FaqsRoute({List<_i18.PageRouteInfo>? children})
- : super(
- FaqsRoute.name,
- initialChildren: children,
- );
- static const String name = 'FaqsRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i3.FaqsPage();
- },
- );
- }
- /// generated route for
- /// [_i4.HistoryPage]
- class HistoryRoute extends _i18.PageRouteInfo<void> {
- const HistoryRoute({List<_i18.PageRouteInfo>? children})
- : super(
- HistoryRoute.name,
- initialChildren: children,
- );
- static const String name = 'HistoryRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i4.HistoryPage();
- },
- );
- }
- /// generated route for
- /// [_i5.LoginPage]
- class LoginRoute extends _i18.PageRouteInfo<LoginRouteArgs> {
- LoginRoute({
- _i19.Key? key,
- required bool cancelable,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- LoginRoute.name,
- args: LoginRouteArgs(
- key: key,
- cancelable: cancelable,
- ),
- initialChildren: children,
- );
- static const String name = 'LoginRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<LoginRouteArgs>();
- return _i5.LoginPage(
- key: args.key,
- cancelable: args.cancelable,
- );
- },
- );
- }
- class LoginRouteArgs {
- const LoginRouteArgs({
- this.key,
- required this.cancelable,
- });
- final _i19.Key? key;
- final bool cancelable;
- @override
- String toString() {
- return 'LoginRouteArgs{key: $key, cancelable: $cancelable}';
- }
- }
- /// generated route for
- /// [_i6.MainPage]
- class MainRoute extends _i18.PageRouteInfo<void> {
- const MainRoute({List<_i18.PageRouteInfo>? children})
- : super(
- MainRoute.name,
- initialChildren: children,
- );
- static const String name = 'MainRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i6.MainPage();
- },
- );
- }
- /// generated route for
- /// [_i7.PatientListPage]
- class PatientListRoute extends _i18.PageRouteInfo<PatientListRouteArgs> {
- PatientListRoute({
- _i20.Key? key,
- bool selectable = true,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- PatientListRoute.name,
- args: PatientListRouteArgs(
- key: key,
- selectable: selectable,
- ),
- initialChildren: children,
- );
- static const String name = 'PatientListRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<PatientListRouteArgs>(
- orElse: () => const PatientListRouteArgs());
- return _i7.PatientListPage(
- key: args.key,
- selectable: args.selectable,
- );
- },
- );
- }
- class PatientListRouteArgs {
- const PatientListRouteArgs({
- this.key,
- this.selectable = true,
- });
- final _i20.Key? key;
- final bool selectable;
- @override
- String toString() {
- return 'PatientListRouteArgs{key: $key, selectable: $selectable}';
- }
- }
- /// generated route for
- /// [_i8.PhotoPreviewPage]
- class PhotoPreviewRoute extends _i18.PageRouteInfo<PhotoPreviewRouteArgs> {
- PhotoPreviewRoute({
- _i20.Key? key,
- required _i21.LocalPatientInfo info,
- required String path,
- required String area,
- required DateTime time,
- required String mobile,
- required String deviceModel,
- required String wifi,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- PhotoPreviewRoute.name,
- args: PhotoPreviewRouteArgs(
- key: key,
- info: info,
- path: path,
- area: area,
- time: time,
- mobile: mobile,
- deviceModel: deviceModel,
- wifi: wifi,
- ),
- initialChildren: children,
- );
- static const String name = 'PhotoPreviewRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<PhotoPreviewRouteArgs>();
- return _i8.PhotoPreviewPage(
- key: args.key,
- info: args.info,
- path: args.path,
- area: args.area,
- time: args.time,
- mobile: args.mobile,
- deviceModel: args.deviceModel,
- wifi: args.wifi,
- );
- },
- );
- }
- class PhotoPreviewRouteArgs {
- const PhotoPreviewRouteArgs({
- this.key,
- required this.info,
- required this.path,
- required this.area,
- required this.time,
- required this.mobile,
- required this.deviceModel,
- required this.wifi,
- });
- final _i20.Key? key;
- final _i21.LocalPatientInfo info;
- final String path;
- final String area;
- final DateTime time;
- final String mobile;
- final String deviceModel;
- final String wifi;
- @override
- String toString() {
- return 'PhotoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, deviceModel: $deviceModel, wifi: $wifi}';
- }
- }
- /// generated route for
- /// [_i9.PhotoViewPage]
- class PhotoViewRoute extends _i18.PageRouteInfo<PhotoViewRouteArgs> {
- PhotoViewRoute({
- _i20.Key? key,
- required _i22.HistoryItemInfo? info,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- PhotoViewRoute.name,
- args: PhotoViewRouteArgs(
- key: key,
- info: info,
- ),
- initialChildren: children,
- );
- static const String name = 'PhotoViewRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<PhotoViewRouteArgs>();
- return _i9.PhotoViewPage(
- key: args.key,
- info: args.info,
- );
- },
- );
- }
- class PhotoViewRouteArgs {
- const PhotoViewRouteArgs({
- this.key,
- required this.info,
- });
- final _i20.Key? key;
- final _i22.HistoryItemInfo? info;
- @override
- String toString() {
- return 'PhotoViewRouteArgs{key: $key, info: $info}';
- }
- }
- /// generated route for
- /// [_i10.SettingsPage]
- class SettingsRoute extends _i18.PageRouteInfo<void> {
- const SettingsRoute({List<_i18.PageRouteInfo>? children})
- : super(
- SettingsRoute.name,
- initialChildren: children,
- );
- static const String name = 'SettingsRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i10.SettingsPage();
- },
- );
- }
- /// generated route for
- /// [_i11.SplashPage]
- class SplashRoute extends _i18.PageRouteInfo<void> {
- const SplashRoute({List<_i18.PageRouteInfo>? children})
- : super(
- SplashRoute.name,
- initialChildren: children,
- );
- static const String name = 'SplashRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i11.SplashPage();
- },
- );
- }
- /// generated route for
- /// [_i12.UploadPage]
- class UploadRoute extends _i18.PageRouteInfo<UploadRouteArgs> {
- UploadRoute({
- _i20.Key? key,
- required List<_i22.HistoryItemInfo> uploadList,
- required _i23.ClinicInfo clinicInfo,
- required bool isFromView,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- UploadRoute.name,
- args: UploadRouteArgs(
- key: key,
- uploadList: uploadList,
- clinicInfo: clinicInfo,
- isFromView: isFromView,
- ),
- initialChildren: children,
- );
- static const String name = 'UploadRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<UploadRouteArgs>();
- return _i12.UploadPage(
- key: args.key,
- uploadList: args.uploadList,
- clinicInfo: args.clinicInfo,
- isFromView: args.isFromView,
- );
- },
- );
- }
- class UploadRouteArgs {
- const UploadRouteArgs({
- this.key,
- required this.uploadList,
- required this.clinicInfo,
- required this.isFromView,
- });
- final _i20.Key? key;
- final List<_i22.HistoryItemInfo> uploadList;
- final _i23.ClinicInfo clinicInfo;
- final bool isFromView;
- @override
- String toString() {
- return 'UploadRouteArgs{key: $key, uploadList: $uploadList, clinicInfo: $clinicInfo, isFromView: $isFromView}';
- }
- }
- /// generated route for
- /// [_i13.UploadSelectClinicPage]
- class UploadSelectClinicRoute
- extends _i18.PageRouteInfo<UploadSelectClinicRouteArgs> {
- UploadSelectClinicRoute({
- _i20.Key? key,
- required List<_i22.HistoryItemInfo> uploadList,
- required bool isFromView,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- UploadSelectClinicRoute.name,
- args: UploadSelectClinicRouteArgs(
- key: key,
- uploadList: uploadList,
- isFromView: isFromView,
- ),
- initialChildren: children,
- );
- static const String name = 'UploadSelectClinicRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<UploadSelectClinicRouteArgs>();
- return _i13.UploadSelectClinicPage(
- key: args.key,
- uploadList: args.uploadList,
- isFromView: args.isFromView,
- );
- },
- );
- }
- class UploadSelectClinicRouteArgs {
- const UploadSelectClinicRouteArgs({
- this.key,
- required this.uploadList,
- required this.isFromView,
- });
- final _i20.Key? key;
- final List<_i22.HistoryItemInfo> uploadList;
- final bool isFromView;
- @override
- String toString() {
- return 'UploadSelectClinicRouteArgs{key: $key, uploadList: $uploadList, isFromView: $isFromView}';
- }
- }
- /// generated route for
- /// [_i14.VideoPlayerPage]
- class VideoPlayerRoute extends _i18.PageRouteInfo<VideoPlayerRouteArgs> {
- VideoPlayerRoute({
- _i20.Key? key,
- required _i22.HistoryItemInfo? info,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- VideoPlayerRoute.name,
- args: VideoPlayerRouteArgs(
- key: key,
- info: info,
- ),
- initialChildren: children,
- );
- static const String name = 'VideoPlayerRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<VideoPlayerRouteArgs>();
- return _i14.VideoPlayerPage(
- key: args.key,
- info: args.info,
- );
- },
- );
- }
- class VideoPlayerRouteArgs {
- const VideoPlayerRouteArgs({
- this.key,
- required this.info,
- });
- final _i20.Key? key;
- final _i22.HistoryItemInfo? info;
- @override
- String toString() {
- return 'VideoPlayerRouteArgs{key: $key, info: $info}';
- }
- }
- /// generated route for
- /// [_i15.VideoPreviewPage]
- class VideoPreviewRoute extends _i18.PageRouteInfo<VideoPreviewRouteArgs> {
- VideoPreviewRoute({
- _i20.Key? key,
- required _i21.LocalPatientInfo info,
- required String path,
- required String area,
- required DateTime time,
- required String mobile,
- required String wifi,
- required String deviceModel,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- VideoPreviewRoute.name,
- args: VideoPreviewRouteArgs(
- key: key,
- info: info,
- path: path,
- area: area,
- time: time,
- mobile: mobile,
- wifi: wifi,
- deviceModel: deviceModel,
- ),
- initialChildren: children,
- );
- static const String name = 'VideoPreviewRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<VideoPreviewRouteArgs>();
- return _i15.VideoPreviewPage(
- key: args.key,
- info: args.info,
- path: args.path,
- area: args.area,
- time: args.time,
- mobile: args.mobile,
- wifi: args.wifi,
- deviceModel: args.deviceModel,
- );
- },
- );
- }
- class VideoPreviewRouteArgs {
- const VideoPreviewRouteArgs({
- this.key,
- required this.info,
- required this.path,
- required this.area,
- required this.time,
- required this.mobile,
- required this.wifi,
- required this.deviceModel,
- });
- final _i20.Key? key;
- final _i21.LocalPatientInfo info;
- final String path;
- final String area;
- final DateTime time;
- final String mobile;
- final String wifi;
- final String deviceModel;
- @override
- String toString() {
- return 'VideoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, wifi: $wifi, deviceModel: $deviceModel}';
- }
- }
- /// generated route for
- /// [_i16.VideoViewPage]
- class VideoViewRoute extends _i18.PageRouteInfo<void> {
- const VideoViewRoute({List<_i18.PageRouteInfo>? children})
- : super(
- VideoViewRoute.name,
- initialChildren: children,
- );
- static const String name = 'VideoViewRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- return const _i16.VideoViewPage();
- },
- );
- }
- /// generated route for
- /// [_i17.WebviewPage]
- class WebviewRoute extends _i18.PageRouteInfo<WebviewRouteArgs> {
- WebviewRoute({
- _i19.Key? key,
- required String url,
- String? title,
- _i24.Future<_i25.HttpResponse<String>>? htmlFuture,
- List<_i18.PageRouteInfo>? children,
- }) : super(
- WebviewRoute.name,
- args: WebviewRouteArgs(
- key: key,
- url: url,
- title: title,
- htmlFuture: htmlFuture,
- ),
- initialChildren: children,
- );
- static const String name = 'WebviewRoute';
- static _i18.PageInfo page = _i18.PageInfo(
- name,
- builder: (data) {
- final args = data.argsAs<WebviewRouteArgs>();
- return _i17.WebviewPage(
- key: args.key,
- url: args.url,
- title: args.title,
- htmlFuture: args.htmlFuture,
- );
- },
- );
- }
- class WebviewRouteArgs {
- const WebviewRouteArgs({
- this.key,
- required this.url,
- this.title,
- this.htmlFuture,
- });
- final _i19.Key? key;
- final String url;
- final String? title;
- final _i24.Future<_i25.HttpResponse<String>>? htmlFuture;
- @override
- String toString() {
- return 'WebviewRouteArgs{key: $key, url: $url, title: $title, htmlFuture: $htmlFuture}';
- }
- }
|