494 lines
13 KiB
Dart
Raw Normal View History

2025-08-12 15:18:38 +07:00
// dart format width=80
// 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
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i25;
2025-08-12 17:13:02 +07:00
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
2025-08-19 13:01:29 +07:00
as _i10;
2025-08-19 12:48:06 +07:00
import 'package:apskel_owner_flutter/presentation/pages/coming_soon/coming_soon_page.dart'
2025-08-13 13:04:58 +07:00
as _i1;
2025-08-19 12:48:06 +07:00
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
as _i2;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/download/download_report_page.dart'
2025-08-17 13:10:01 +07:00
as _i4;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
2025-08-19 12:48:06 +07:00
as _i5;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
as _i6;
2025-08-15 16:31:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
2025-08-19 12:48:06 +07:00
as _i3;
2025-08-15 16:31:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
2025-08-17 13:10:01 +07:00
as _i7;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
2025-08-19 12:48:06 +07:00
as _i8;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
as _i9;
2025-08-12 17:36:41 +07:00
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
2025-08-13 16:11:04 +07:00
as _i11;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
2025-08-15 16:31:29 +07:00
as _i12;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
2025-08-15 18:02:09 +07:00
as _i13;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
2025-08-15 18:28:13 +07:00
as _i14;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
2025-08-15 23:06:47 +07:00
as _i15;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
2025-08-15 23:53:05 +07:00
as _i16;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
2025-08-17 13:10:01 +07:00
as _i17;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
2025-08-18 15:30:34 +07:00
as _i18;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
2025-08-18 16:05:59 +07:00
as _i19;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
2025-08-19 11:08:33 +07:00
as _i20;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
2025-08-19 12:48:06 +07:00
as _i21;
2025-08-19 13:01:29 +07:00
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
as _i22;
import 'package:auto_route/auto_route.dart' as _i23;
import 'package:flutter/material.dart' as _i24;
2025-08-19 12:48:06 +07:00
/// generated route for
/// [_i1.ComingSoonPage]
2025-08-19 13:01:29 +07:00
class ComingSoonRoute extends _i23.PageRouteInfo<void> {
const ComingSoonRoute({List<_i23.PageRouteInfo>? children})
2025-08-19 12:48:06 +07:00
: super(ComingSoonRoute.name, initialChildren: children);
static const String name = 'ComingSoonRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-19 12:48:06 +07:00
name,
builder: (data) {
return const _i1.ComingSoonPage();
},
);
}
2025-08-15 16:31:29 +07:00
/// generated route for
2025-08-19 12:48:06 +07:00
/// [_i2.CustomerPage]
2025-08-19 13:01:29 +07:00
class CustomerRoute extends _i23.PageRouteInfo<void> {
const CustomerRoute({List<_i23.PageRouteInfo>? children})
2025-08-15 16:31:29 +07:00
: super(CustomerRoute.name, initialChildren: children);
static const String name = 'CustomerRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-15 16:31:29 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i2.CustomerPage());
2025-08-15 16:31:29 +07:00
},
);
}
2025-08-13 12:55:27 +07:00
/// generated route for
2025-08-19 12:48:06 +07:00
/// [_i3.DailyTasksFormPage]
2025-08-19 13:01:29 +07:00
class DailyTasksFormRoute extends _i23.PageRouteInfo<void> {
const DailyTasksFormRoute({List<_i23.PageRouteInfo>? children})
2025-08-13 12:55:27 +07:00
: super(DailyTasksFormRoute.name, initialChildren: children);
static const String name = 'DailyTasksFormRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-13 12:55:27 +07:00
name,
builder: (data) {
2025-08-19 12:48:06 +07:00
return const _i3.DailyTasksFormPage();
2025-08-13 12:55:27 +07:00
},
);
}
2025-08-12 17:36:41 +07:00
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i4.DownloadReportPage]
class DownloadReportRoute extends _i23.PageRouteInfo<void> {
const DownloadReportRoute({List<_i23.PageRouteInfo>? children})
: super(DownloadReportRoute.name, initialChildren: children);
static const String name = 'DownloadReportRoute';
static _i23.PageInfo page = _i23.PageInfo(
name,
builder: (data) {
return const _i4.DownloadReportPage();
},
);
}
/// generated route for
/// [_i5.ErrorPage]
class ErrorRoute extends _i23.PageRouteInfo<ErrorRouteArgs> {
2025-08-17 13:10:01 +07:00
ErrorRoute({
2025-08-19 13:01:29 +07:00
_i24.Key? key,
2025-08-17 13:10:01 +07:00
String? title,
String? message,
2025-08-19 13:01:29 +07:00
_i24.VoidCallback? onRetry,
_i24.VoidCallback? onBack,
2025-08-17 13:10:01 +07:00
String? errorCode,
2025-08-19 13:01:29 +07:00
_i24.IconData? errorIcon,
List<_i23.PageRouteInfo>? children,
2025-08-17 13:10:01 +07:00
}) : super(
ErrorRoute.name,
args: ErrorRouteArgs(
key: key,
title: title,
message: message,
onRetry: onRetry,
onBack: onBack,
errorCode: errorCode,
2025-08-17 14:18:10 +07:00
errorIcon: errorIcon,
2025-08-17 13:10:01 +07:00
),
initialChildren: children,
);
static const String name = 'ErrorRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-17 13:10:01 +07:00
name,
builder: (data) {
final args = data.argsAs<ErrorRouteArgs>(
orElse: () => const ErrorRouteArgs(),
);
2025-08-19 13:01:29 +07:00
return _i5.ErrorPage(
2025-08-17 13:10:01 +07:00
key: args.key,
title: args.title,
message: args.message,
onRetry: args.onRetry,
onBack: args.onBack,
errorCode: args.errorCode,
2025-08-17 14:18:10 +07:00
errorIcon: args.errorIcon,
2025-08-17 13:10:01 +07:00
);
},
);
}
class ErrorRouteArgs {
const ErrorRouteArgs({
this.key,
this.title,
this.message,
this.onRetry,
this.onBack,
this.errorCode,
2025-08-17 14:18:10 +07:00
this.errorIcon,
2025-08-17 13:10:01 +07:00
});
2025-08-19 13:01:29 +07:00
final _i24.Key? key;
2025-08-17 13:10:01 +07:00
final String? title;
final String? message;
2025-08-19 13:01:29 +07:00
final _i24.VoidCallback? onRetry;
2025-08-17 13:10:01 +07:00
2025-08-19 13:01:29 +07:00
final _i24.VoidCallback? onBack;
2025-08-17 13:10:01 +07:00
final String? errorCode;
2025-08-19 13:01:29 +07:00
final _i24.IconData? errorIcon;
2025-08-17 14:18:10 +07:00
2025-08-17 13:10:01 +07:00
@override
String toString() {
2025-08-17 14:18:10 +07:00
return 'ErrorRouteArgs{key: $key, title: $title, message: $message, onRetry: $onRetry, onBack: $onBack, errorCode: $errorCode, errorIcon: $errorIcon}';
2025-08-17 13:10:01 +07:00
}
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i6.FinancePage]
class FinanceRoute extends _i23.PageRouteInfo<void> {
const FinanceRoute({List<_i23.PageRouteInfo>? children})
2025-08-15 23:53:05 +07:00
: super(FinanceRoute.name, initialChildren: children);
static const String name = 'FinanceRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-15 23:53:05 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i6.FinancePage());
2025-08-15 23:53:05 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i7.HomePage]
class HomeRoute extends _i23.PageRouteInfo<void> {
const HomeRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 17:36:41 +07:00
: super(HomeRoute.name, initialChildren: children);
static const String name = 'HomeRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:36:41 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i7.HomePage());
2025-08-12 17:36:41 +07:00
},
);
}
2025-08-12 17:13:02 +07:00
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i8.InventoryPage]
class InventoryRoute extends _i23.PageRouteInfo<void> {
const InventoryRoute({List<_i23.PageRouteInfo>? children})
2025-08-15 18:02:09 +07:00
: super(InventoryRoute.name, initialChildren: children);
static const String name = 'InventoryRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-15 18:02:09 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i8.InventoryPage());
2025-08-15 18:02:09 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i9.LanguagePage]
class LanguageRoute extends _i23.PageRouteInfo<void> {
const LanguageRoute({List<_i23.PageRouteInfo>? children})
2025-08-13 00:15:53 +07:00
: super(LanguageRoute.name, initialChildren: children);
static const String name = 'LanguageRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-13 00:15:53 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return const _i9.LanguagePage();
2025-08-13 00:15:53 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i10.LoginPage]
class LoginRoute extends _i23.PageRouteInfo<void> {
const LoginRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 17:13:02 +07:00
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:36:41 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i10.LoginPage());
2025-08-12 17:36:41 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i11.MainPage]
class MainRoute extends _i23.PageRouteInfo<void> {
const MainRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 17:36:41 +07:00
: super(MainRoute.name, initialChildren: children);
static const String name = 'MainRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:13:02 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return const _i11.MainPage();
2025-08-12 17:13:02 +07:00
},
);
}
2025-08-12 15:18:38 +07:00
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i12.OrderDetailPage]
class OrderDetailRoute extends _i23.PageRouteInfo<OrderDetailRouteArgs> {
2025-08-18 15:30:34 +07:00
OrderDetailRoute({
2025-08-19 13:01:29 +07:00
_i24.Key? key,
required _i25.Order order,
List<_i23.PageRouteInfo>? children,
2025-08-18 15:30:34 +07:00
}) : super(
OrderDetailRoute.name,
args: OrderDetailRouteArgs(key: key, order: order),
initialChildren: children,
);
static const String name = 'OrderDetailRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-18 15:30:34 +07:00
name,
builder: (data) {
final args = data.argsAs<OrderDetailRouteArgs>();
2025-08-19 13:01:29 +07:00
return _i12.OrderDetailPage(key: args.key, order: args.order);
2025-08-18 15:30:34 +07:00
},
);
}
class OrderDetailRouteArgs {
const OrderDetailRouteArgs({this.key, required this.order});
2025-08-19 13:01:29 +07:00
final _i24.Key? key;
2025-08-18 15:30:34 +07:00
2025-08-19 13:01:29 +07:00
final _i25.Order order;
2025-08-18 15:30:34 +07:00
@override
String toString() {
return 'OrderDetailRouteArgs{key: $key, order: $order}';
}
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i13.OrderPage]
class OrderRoute extends _i23.PageRouteInfo<void> {
const OrderRoute({List<_i23.PageRouteInfo>? children})
2025-08-18 13:33:45 +07:00
: super(OrderRoute.name, initialChildren: children);
static const String name = 'OrderRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-19 11:08:33 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i13.OrderPage());
2025-08-19 11:08:33 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i14.OutletInformationPage]
class OutletInformationRoute extends _i23.PageRouteInfo<void> {
const OutletInformationRoute({List<_i23.PageRouteInfo>? children})
2025-08-19 11:08:33 +07:00
: super(OutletInformationRoute.name, initialChildren: children);
static const String name = 'OutletInformationRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-18 16:05:59 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i14.OutletInformationPage());
2025-08-18 16:05:59 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i15.ProductAnalyticPage]
class ProductAnalyticRoute extends _i23.PageRouteInfo<void> {
const ProductAnalyticRoute({List<_i23.PageRouteInfo>? children})
2025-08-18 16:05:59 +07:00
: super(ProductAnalyticRoute.name, initialChildren: children);
static const String name = 'ProductAnalyticRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-18 13:33:45 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i15.ProductAnalyticPage());
2025-08-18 13:33:45 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i16.ProductPage]
class ProductRoute extends _i23.PageRouteInfo<void> {
const ProductRoute({List<_i23.PageRouteInfo>? children})
2025-08-13 16:11:04 +07:00
: super(ProductRoute.name, initialChildren: children);
static const String name = 'ProductRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-13 16:11:04 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i16.ProductPage());
2025-08-13 16:11:04 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i17.ProfilePage]
class ProfileRoute extends _i23.PageRouteInfo<void> {
const ProfileRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 17:36:41 +07:00
: super(ProfileRoute.name, initialChildren: children);
static const String name = 'ProfileRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:36:41 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i17.ProfilePage());
2025-08-12 17:36:41 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i18.PurchasePage]
class PurchaseRoute extends _i23.PageRouteInfo<void> {
const PurchaseRoute({List<_i23.PageRouteInfo>? children})
2025-08-15 23:06:47 +07:00
: super(PurchaseRoute.name, initialChildren: children);
static const String name = 'PurchaseRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-15 23:06:47 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return const _i18.PurchasePage();
2025-08-15 23:06:47 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i19.ReportPage]
class ReportRoute extends _i23.PageRouteInfo<void> {
const ReportRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 17:36:41 +07:00
: super(ReportRoute.name, initialChildren: children);
static const String name = 'ReportRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:36:41 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i19.ReportPage());
2025-08-12 17:36:41 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i20.SalesPage]
class SalesRoute extends _i23.PageRouteInfo<void> {
const SalesRoute({List<_i23.PageRouteInfo>? children})
2025-08-15 18:28:13 +07:00
: super(SalesRoute.name, initialChildren: children);
static const String name = 'SalesRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-15 18:28:13 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return _i23.WrappedRoute(child: const _i20.SalesPage());
2025-08-15 18:28:13 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i21.SchedulePage]
class ScheduleRoute extends _i23.PageRouteInfo<void> {
const ScheduleRoute({List<_i23.PageRouteInfo>? children})
2025-08-13 13:55:34 +07:00
: super(ScheduleRoute.name, initialChildren: children);
static const String name = 'ScheduleRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-13 13:55:34 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return const _i21.SchedulePage();
2025-08-13 13:55:34 +07:00
},
);
}
/// generated route for
2025-08-19 13:01:29 +07:00
/// [_i22.SplashPage]
class SplashRoute extends _i23.PageRouteInfo<void> {
const SplashRoute({List<_i23.PageRouteInfo>? children})
2025-08-12 15:18:38 +07:00
: super(SplashRoute.name, initialChildren: children);
static const String name = 'SplashRoute';
2025-08-19 13:01:29 +07:00
static _i23.PageInfo page = _i23.PageInfo(
2025-08-12 17:36:41 +07:00
name,
builder: (data) {
2025-08-19 13:01:29 +07:00
return const _i22.SplashPage();
2025-08-12 15:18:38 +07:00
},
);
}