app_router.gr.dart 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. // **************************************************************************
  3. // AutoRouterGenerator
  4. // **************************************************************************
  5. // ignore_for_file: type=lint
  6. // coverage:ignore-file
  7. // ignore_for_file: no_leading_underscores_for_library_prefixes
  8. import 'dart:async' as _i24;
  9. import 'package:auto_route/auto_route.dart' as _i18;
  10. import 'package:eitc_erm_dental_flutter/entity/clinic_info.dart' as _i23;
  11. import 'package:eitc_erm_dental_flutter/entity/db/local_patient_info.dart'
  12. as _i21;
  13. import 'package:eitc_erm_dental_flutter/entity/history_item_info.dart' as _i22;
  14. import 'package:eitc_erm_dental_flutter/pages/history/history_page.dart' as _i4;
  15. import 'package:eitc_erm_dental_flutter/pages/history/photo_view_page.dart'
  16. as _i9;
  17. import 'package:eitc_erm_dental_flutter/pages/history/video_player_page.dart'
  18. as _i14;
  19. import 'package:eitc_erm_dental_flutter/pages/login/login_page.dart' as _i5;
  20. import 'package:eitc_erm_dental_flutter/pages/main/main_page.dart' as _i6;
  21. import 'package:eitc_erm_dental_flutter/pages/patient/add_patient_page.dart'
  22. as _i1;
  23. import 'package:eitc_erm_dental_flutter/pages/patient/patient_list_page.dart'
  24. as _i7;
  25. import 'package:eitc_erm_dental_flutter/pages/settings/delay_shot_settings_page.dart'
  26. as _i2;
  27. import 'package:eitc_erm_dental_flutter/pages/settings/faqs_page.dart' as _i3;
  28. import 'package:eitc_erm_dental_flutter/pages/settings/settings_page.dart'
  29. as _i10;
  30. import 'package:eitc_erm_dental_flutter/pages/splash/splash_page.dart' as _i11;
  31. import 'package:eitc_erm_dental_flutter/pages/upload/upload_page.dart' as _i12;
  32. import 'package:eitc_erm_dental_flutter/pages/upload/upload_select_clinic_page.dart'
  33. as _i13;
  34. import 'package:eitc_erm_dental_flutter/pages/view/photo_preview_page.dart'
  35. as _i8;
  36. import 'package:eitc_erm_dental_flutter/pages/view/video_preview_page.dart'
  37. as _i15;
  38. import 'package:eitc_erm_dental_flutter/pages/view/video_view_page.dart'
  39. as _i16;
  40. import 'package:eitc_erm_dental_flutter/pages/web/webview_page.dart' as _i17;
  41. import 'package:flutter/foundation.dart' as _i19;
  42. import 'package:flutter/material.dart' as _i20;
  43. import 'package:retrofit/dio.dart' as _i25;
  44. /// generated route for
  45. /// [_i1.AddPatientPage]
  46. class AddPatientRoute extends _i18.PageRouteInfo<void> {
  47. const AddPatientRoute({List<_i18.PageRouteInfo>? children})
  48. : super(
  49. AddPatientRoute.name,
  50. initialChildren: children,
  51. );
  52. static const String name = 'AddPatientRoute';
  53. static _i18.PageInfo page = _i18.PageInfo(
  54. name,
  55. builder: (data) {
  56. return const _i1.AddPatientPage();
  57. },
  58. );
  59. }
  60. /// generated route for
  61. /// [_i2.DelayShotSettingsPage]
  62. class DelayShotSettingsRoute extends _i18.PageRouteInfo<void> {
  63. const DelayShotSettingsRoute({List<_i18.PageRouteInfo>? children})
  64. : super(
  65. DelayShotSettingsRoute.name,
  66. initialChildren: children,
  67. );
  68. static const String name = 'DelayShotSettingsRoute';
  69. static _i18.PageInfo page = _i18.PageInfo(
  70. name,
  71. builder: (data) {
  72. return const _i2.DelayShotSettingsPage();
  73. },
  74. );
  75. }
  76. /// generated route for
  77. /// [_i3.FaqsPage]
  78. class FaqsRoute extends _i18.PageRouteInfo<void> {
  79. const FaqsRoute({List<_i18.PageRouteInfo>? children})
  80. : super(
  81. FaqsRoute.name,
  82. initialChildren: children,
  83. );
  84. static const String name = 'FaqsRoute';
  85. static _i18.PageInfo page = _i18.PageInfo(
  86. name,
  87. builder: (data) {
  88. return const _i3.FaqsPage();
  89. },
  90. );
  91. }
  92. /// generated route for
  93. /// [_i4.HistoryPage]
  94. class HistoryRoute extends _i18.PageRouteInfo<void> {
  95. const HistoryRoute({List<_i18.PageRouteInfo>? children})
  96. : super(
  97. HistoryRoute.name,
  98. initialChildren: children,
  99. );
  100. static const String name = 'HistoryRoute';
  101. static _i18.PageInfo page = _i18.PageInfo(
  102. name,
  103. builder: (data) {
  104. return const _i4.HistoryPage();
  105. },
  106. );
  107. }
  108. /// generated route for
  109. /// [_i5.LoginPage]
  110. class LoginRoute extends _i18.PageRouteInfo<LoginRouteArgs> {
  111. LoginRoute({
  112. _i19.Key? key,
  113. required bool cancelable,
  114. List<_i18.PageRouteInfo>? children,
  115. }) : super(
  116. LoginRoute.name,
  117. args: LoginRouteArgs(
  118. key: key,
  119. cancelable: cancelable,
  120. ),
  121. initialChildren: children,
  122. );
  123. static const String name = 'LoginRoute';
  124. static _i18.PageInfo page = _i18.PageInfo(
  125. name,
  126. builder: (data) {
  127. final args = data.argsAs<LoginRouteArgs>();
  128. return _i5.LoginPage(
  129. key: args.key,
  130. cancelable: args.cancelable,
  131. );
  132. },
  133. );
  134. }
  135. class LoginRouteArgs {
  136. const LoginRouteArgs({
  137. this.key,
  138. required this.cancelable,
  139. });
  140. final _i19.Key? key;
  141. final bool cancelable;
  142. @override
  143. String toString() {
  144. return 'LoginRouteArgs{key: $key, cancelable: $cancelable}';
  145. }
  146. }
  147. /// generated route for
  148. /// [_i6.MainPage]
  149. class MainRoute extends _i18.PageRouteInfo<void> {
  150. const MainRoute({List<_i18.PageRouteInfo>? children})
  151. : super(
  152. MainRoute.name,
  153. initialChildren: children,
  154. );
  155. static const String name = 'MainRoute';
  156. static _i18.PageInfo page = _i18.PageInfo(
  157. name,
  158. builder: (data) {
  159. return const _i6.MainPage();
  160. },
  161. );
  162. }
  163. /// generated route for
  164. /// [_i7.PatientListPage]
  165. class PatientListRoute extends _i18.PageRouteInfo<PatientListRouteArgs> {
  166. PatientListRoute({
  167. _i20.Key? key,
  168. bool selectable = true,
  169. List<_i18.PageRouteInfo>? children,
  170. }) : super(
  171. PatientListRoute.name,
  172. args: PatientListRouteArgs(
  173. key: key,
  174. selectable: selectable,
  175. ),
  176. initialChildren: children,
  177. );
  178. static const String name = 'PatientListRoute';
  179. static _i18.PageInfo page = _i18.PageInfo(
  180. name,
  181. builder: (data) {
  182. final args = data.argsAs<PatientListRouteArgs>(
  183. orElse: () => const PatientListRouteArgs());
  184. return _i7.PatientListPage(
  185. key: args.key,
  186. selectable: args.selectable,
  187. );
  188. },
  189. );
  190. }
  191. class PatientListRouteArgs {
  192. const PatientListRouteArgs({
  193. this.key,
  194. this.selectable = true,
  195. });
  196. final _i20.Key? key;
  197. final bool selectable;
  198. @override
  199. String toString() {
  200. return 'PatientListRouteArgs{key: $key, selectable: $selectable}';
  201. }
  202. }
  203. /// generated route for
  204. /// [_i8.PhotoPreviewPage]
  205. class PhotoPreviewRoute extends _i18.PageRouteInfo<PhotoPreviewRouteArgs> {
  206. PhotoPreviewRoute({
  207. _i20.Key? key,
  208. required _i21.LocalPatientInfo info,
  209. required String path,
  210. required String area,
  211. required DateTime time,
  212. required String mobile,
  213. required String deviceModel,
  214. required String wifi,
  215. List<_i18.PageRouteInfo>? children,
  216. }) : super(
  217. PhotoPreviewRoute.name,
  218. args: PhotoPreviewRouteArgs(
  219. key: key,
  220. info: info,
  221. path: path,
  222. area: area,
  223. time: time,
  224. mobile: mobile,
  225. deviceModel: deviceModel,
  226. wifi: wifi,
  227. ),
  228. initialChildren: children,
  229. );
  230. static const String name = 'PhotoPreviewRoute';
  231. static _i18.PageInfo page = _i18.PageInfo(
  232. name,
  233. builder: (data) {
  234. final args = data.argsAs<PhotoPreviewRouteArgs>();
  235. return _i8.PhotoPreviewPage(
  236. key: args.key,
  237. info: args.info,
  238. path: args.path,
  239. area: args.area,
  240. time: args.time,
  241. mobile: args.mobile,
  242. deviceModel: args.deviceModel,
  243. wifi: args.wifi,
  244. );
  245. },
  246. );
  247. }
  248. class PhotoPreviewRouteArgs {
  249. const PhotoPreviewRouteArgs({
  250. this.key,
  251. required this.info,
  252. required this.path,
  253. required this.area,
  254. required this.time,
  255. required this.mobile,
  256. required this.deviceModel,
  257. required this.wifi,
  258. });
  259. final _i20.Key? key;
  260. final _i21.LocalPatientInfo info;
  261. final String path;
  262. final String area;
  263. final DateTime time;
  264. final String mobile;
  265. final String deviceModel;
  266. final String wifi;
  267. @override
  268. String toString() {
  269. return 'PhotoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, deviceModel: $deviceModel, wifi: $wifi}';
  270. }
  271. }
  272. /// generated route for
  273. /// [_i9.PhotoViewPage]
  274. class PhotoViewRoute extends _i18.PageRouteInfo<PhotoViewRouteArgs> {
  275. PhotoViewRoute({
  276. _i20.Key? key,
  277. required _i22.HistoryItemInfo? info,
  278. List<_i18.PageRouteInfo>? children,
  279. }) : super(
  280. PhotoViewRoute.name,
  281. args: PhotoViewRouteArgs(
  282. key: key,
  283. info: info,
  284. ),
  285. initialChildren: children,
  286. );
  287. static const String name = 'PhotoViewRoute';
  288. static _i18.PageInfo page = _i18.PageInfo(
  289. name,
  290. builder: (data) {
  291. final args = data.argsAs<PhotoViewRouteArgs>();
  292. return _i9.PhotoViewPage(
  293. key: args.key,
  294. info: args.info,
  295. );
  296. },
  297. );
  298. }
  299. class PhotoViewRouteArgs {
  300. const PhotoViewRouteArgs({
  301. this.key,
  302. required this.info,
  303. });
  304. final _i20.Key? key;
  305. final _i22.HistoryItemInfo? info;
  306. @override
  307. String toString() {
  308. return 'PhotoViewRouteArgs{key: $key, info: $info}';
  309. }
  310. }
  311. /// generated route for
  312. /// [_i10.SettingsPage]
  313. class SettingsRoute extends _i18.PageRouteInfo<void> {
  314. const SettingsRoute({List<_i18.PageRouteInfo>? children})
  315. : super(
  316. SettingsRoute.name,
  317. initialChildren: children,
  318. );
  319. static const String name = 'SettingsRoute';
  320. static _i18.PageInfo page = _i18.PageInfo(
  321. name,
  322. builder: (data) {
  323. return const _i10.SettingsPage();
  324. },
  325. );
  326. }
  327. /// generated route for
  328. /// [_i11.SplashPage]
  329. class SplashRoute extends _i18.PageRouteInfo<void> {
  330. const SplashRoute({List<_i18.PageRouteInfo>? children})
  331. : super(
  332. SplashRoute.name,
  333. initialChildren: children,
  334. );
  335. static const String name = 'SplashRoute';
  336. static _i18.PageInfo page = _i18.PageInfo(
  337. name,
  338. builder: (data) {
  339. return const _i11.SplashPage();
  340. },
  341. );
  342. }
  343. /// generated route for
  344. /// [_i12.UploadPage]
  345. class UploadRoute extends _i18.PageRouteInfo<UploadRouteArgs> {
  346. UploadRoute({
  347. _i20.Key? key,
  348. required List<_i22.HistoryItemInfo> uploadList,
  349. required _i23.ClinicInfo clinicInfo,
  350. required bool isFromView,
  351. List<_i18.PageRouteInfo>? children,
  352. }) : super(
  353. UploadRoute.name,
  354. args: UploadRouteArgs(
  355. key: key,
  356. uploadList: uploadList,
  357. clinicInfo: clinicInfo,
  358. isFromView: isFromView,
  359. ),
  360. initialChildren: children,
  361. );
  362. static const String name = 'UploadRoute';
  363. static _i18.PageInfo page = _i18.PageInfo(
  364. name,
  365. builder: (data) {
  366. final args = data.argsAs<UploadRouteArgs>();
  367. return _i12.UploadPage(
  368. key: args.key,
  369. uploadList: args.uploadList,
  370. clinicInfo: args.clinicInfo,
  371. isFromView: args.isFromView,
  372. );
  373. },
  374. );
  375. }
  376. class UploadRouteArgs {
  377. const UploadRouteArgs({
  378. this.key,
  379. required this.uploadList,
  380. required this.clinicInfo,
  381. required this.isFromView,
  382. });
  383. final _i20.Key? key;
  384. final List<_i22.HistoryItemInfo> uploadList;
  385. final _i23.ClinicInfo clinicInfo;
  386. final bool isFromView;
  387. @override
  388. String toString() {
  389. return 'UploadRouteArgs{key: $key, uploadList: $uploadList, clinicInfo: $clinicInfo, isFromView: $isFromView}';
  390. }
  391. }
  392. /// generated route for
  393. /// [_i13.UploadSelectClinicPage]
  394. class UploadSelectClinicRoute
  395. extends _i18.PageRouteInfo<UploadSelectClinicRouteArgs> {
  396. UploadSelectClinicRoute({
  397. _i20.Key? key,
  398. required List<_i22.HistoryItemInfo> uploadList,
  399. required bool isFromView,
  400. List<_i18.PageRouteInfo>? children,
  401. }) : super(
  402. UploadSelectClinicRoute.name,
  403. args: UploadSelectClinicRouteArgs(
  404. key: key,
  405. uploadList: uploadList,
  406. isFromView: isFromView,
  407. ),
  408. initialChildren: children,
  409. );
  410. static const String name = 'UploadSelectClinicRoute';
  411. static _i18.PageInfo page = _i18.PageInfo(
  412. name,
  413. builder: (data) {
  414. final args = data.argsAs<UploadSelectClinicRouteArgs>();
  415. return _i13.UploadSelectClinicPage(
  416. key: args.key,
  417. uploadList: args.uploadList,
  418. isFromView: args.isFromView,
  419. );
  420. },
  421. );
  422. }
  423. class UploadSelectClinicRouteArgs {
  424. const UploadSelectClinicRouteArgs({
  425. this.key,
  426. required this.uploadList,
  427. required this.isFromView,
  428. });
  429. final _i20.Key? key;
  430. final List<_i22.HistoryItemInfo> uploadList;
  431. final bool isFromView;
  432. @override
  433. String toString() {
  434. return 'UploadSelectClinicRouteArgs{key: $key, uploadList: $uploadList, isFromView: $isFromView}';
  435. }
  436. }
  437. /// generated route for
  438. /// [_i14.VideoPlayerPage]
  439. class VideoPlayerRoute extends _i18.PageRouteInfo<VideoPlayerRouteArgs> {
  440. VideoPlayerRoute({
  441. _i20.Key? key,
  442. required _i22.HistoryItemInfo? info,
  443. List<_i18.PageRouteInfo>? children,
  444. }) : super(
  445. VideoPlayerRoute.name,
  446. args: VideoPlayerRouteArgs(
  447. key: key,
  448. info: info,
  449. ),
  450. initialChildren: children,
  451. );
  452. static const String name = 'VideoPlayerRoute';
  453. static _i18.PageInfo page = _i18.PageInfo(
  454. name,
  455. builder: (data) {
  456. final args = data.argsAs<VideoPlayerRouteArgs>();
  457. return _i14.VideoPlayerPage(
  458. key: args.key,
  459. info: args.info,
  460. );
  461. },
  462. );
  463. }
  464. class VideoPlayerRouteArgs {
  465. const VideoPlayerRouteArgs({
  466. this.key,
  467. required this.info,
  468. });
  469. final _i20.Key? key;
  470. final _i22.HistoryItemInfo? info;
  471. @override
  472. String toString() {
  473. return 'VideoPlayerRouteArgs{key: $key, info: $info}';
  474. }
  475. }
  476. /// generated route for
  477. /// [_i15.VideoPreviewPage]
  478. class VideoPreviewRoute extends _i18.PageRouteInfo<VideoPreviewRouteArgs> {
  479. VideoPreviewRoute({
  480. _i20.Key? key,
  481. required _i21.LocalPatientInfo info,
  482. required String path,
  483. required String area,
  484. required DateTime time,
  485. required String mobile,
  486. required String wifi,
  487. required String deviceModel,
  488. List<_i18.PageRouteInfo>? children,
  489. }) : super(
  490. VideoPreviewRoute.name,
  491. args: VideoPreviewRouteArgs(
  492. key: key,
  493. info: info,
  494. path: path,
  495. area: area,
  496. time: time,
  497. mobile: mobile,
  498. wifi: wifi,
  499. deviceModel: deviceModel,
  500. ),
  501. initialChildren: children,
  502. );
  503. static const String name = 'VideoPreviewRoute';
  504. static _i18.PageInfo page = _i18.PageInfo(
  505. name,
  506. builder: (data) {
  507. final args = data.argsAs<VideoPreviewRouteArgs>();
  508. return _i15.VideoPreviewPage(
  509. key: args.key,
  510. info: args.info,
  511. path: args.path,
  512. area: args.area,
  513. time: args.time,
  514. mobile: args.mobile,
  515. wifi: args.wifi,
  516. deviceModel: args.deviceModel,
  517. );
  518. },
  519. );
  520. }
  521. class VideoPreviewRouteArgs {
  522. const VideoPreviewRouteArgs({
  523. this.key,
  524. required this.info,
  525. required this.path,
  526. required this.area,
  527. required this.time,
  528. required this.mobile,
  529. required this.wifi,
  530. required this.deviceModel,
  531. });
  532. final _i20.Key? key;
  533. final _i21.LocalPatientInfo info;
  534. final String path;
  535. final String area;
  536. final DateTime time;
  537. final String mobile;
  538. final String wifi;
  539. final String deviceModel;
  540. @override
  541. String toString() {
  542. return 'VideoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, wifi: $wifi, deviceModel: $deviceModel}';
  543. }
  544. }
  545. /// generated route for
  546. /// [_i16.VideoViewPage]
  547. class VideoViewRoute extends _i18.PageRouteInfo<void> {
  548. const VideoViewRoute({List<_i18.PageRouteInfo>? children})
  549. : super(
  550. VideoViewRoute.name,
  551. initialChildren: children,
  552. );
  553. static const String name = 'VideoViewRoute';
  554. static _i18.PageInfo page = _i18.PageInfo(
  555. name,
  556. builder: (data) {
  557. return const _i16.VideoViewPage();
  558. },
  559. );
  560. }
  561. /// generated route for
  562. /// [_i17.WebviewPage]
  563. class WebviewRoute extends _i18.PageRouteInfo<WebviewRouteArgs> {
  564. WebviewRoute({
  565. _i19.Key? key,
  566. required String url,
  567. String? title,
  568. _i24.Future<_i25.HttpResponse<String>>? htmlFuture,
  569. List<_i18.PageRouteInfo>? children,
  570. }) : super(
  571. WebviewRoute.name,
  572. args: WebviewRouteArgs(
  573. key: key,
  574. url: url,
  575. title: title,
  576. htmlFuture: htmlFuture,
  577. ),
  578. initialChildren: children,
  579. );
  580. static const String name = 'WebviewRoute';
  581. static _i18.PageInfo page = _i18.PageInfo(
  582. name,
  583. builder: (data) {
  584. final args = data.argsAs<WebviewRouteArgs>();
  585. return _i17.WebviewPage(
  586. key: args.key,
  587. url: args.url,
  588. title: args.title,
  589. htmlFuture: args.htmlFuture,
  590. );
  591. },
  592. );
  593. }
  594. class WebviewRouteArgs {
  595. const WebviewRouteArgs({
  596. this.key,
  597. required this.url,
  598. this.title,
  599. this.htmlFuture,
  600. });
  601. final _i19.Key? key;
  602. final String url;
  603. final String? title;
  604. final _i24.Future<_i25.HttpResponse<String>>? htmlFuture;
  605. @override
  606. String toString() {
  607. return 'WebviewRouteArgs{key: $key, url: $url, title: $title, htmlFuture: $htmlFuture}';
  608. }
  609. }