2025-08-19 17:39:00 +07:00

572 lines
16 KiB
Dart

// 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
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i28;
import 'package:apskel_owner_flutter/domain/user/user.dart' as _i29;
import 'package:apskel_owner_flutter/presentation/pages/about_app/about_app_page.dart'
as _i1;
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
as _i11;
import 'package:apskel_owner_flutter/presentation/pages/coming_soon/coming_soon_page.dart'
as _i2;
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
as _i3;
import 'package:apskel_owner_flutter/presentation/pages/download/download_report_page.dart'
as _i5;
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
as _i6;
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
as _i7;
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
as _i4;
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
as _i8;
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
as _i9;
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
as _i10;
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
as _i12;
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
as _i13;
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
as _i14;
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
as _i15;
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
as _i16;
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
as _i17;
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_change_password/profile_change_password_page.dart'
as _i18;
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_edit/profile_edit_page.dart'
as _i19;
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
as _i20;
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
as _i21;
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
as _i22;
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
as _i23;
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
as _i24;
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
as _i25;
import 'package:auto_route/auto_route.dart' as _i26;
import 'package:flutter/material.dart' as _i27;
/// generated route for
/// [_i1.AboutAppPage]
class AboutAppRoute extends _i26.PageRouteInfo<void> {
const AboutAppRoute({List<_i26.PageRouteInfo>? children})
: super(AboutAppRoute.name, initialChildren: children);
static const String name = 'AboutAppRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i1.AboutAppPage();
},
);
}
/// generated route for
/// [_i2.ComingSoonPage]
class ComingSoonRoute extends _i26.PageRouteInfo<void> {
const ComingSoonRoute({List<_i26.PageRouteInfo>? children})
: super(ComingSoonRoute.name, initialChildren: children);
static const String name = 'ComingSoonRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i2.ComingSoonPage();
},
);
}
/// generated route for
/// [_i3.CustomerPage]
class CustomerRoute extends _i26.PageRouteInfo<void> {
const CustomerRoute({List<_i26.PageRouteInfo>? children})
: super(CustomerRoute.name, initialChildren: children);
static const String name = 'CustomerRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i3.CustomerPage());
},
);
}
/// generated route for
/// [_i4.DailyTasksFormPage]
class DailyTasksFormRoute extends _i26.PageRouteInfo<void> {
const DailyTasksFormRoute({List<_i26.PageRouteInfo>? children})
: super(DailyTasksFormRoute.name, initialChildren: children);
static const String name = 'DailyTasksFormRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i4.DailyTasksFormPage();
},
);
}
/// generated route for
/// [_i5.DownloadReportPage]
class DownloadReportRoute extends _i26.PageRouteInfo<void> {
const DownloadReportRoute({List<_i26.PageRouteInfo>? children})
: super(DownloadReportRoute.name, initialChildren: children);
static const String name = 'DownloadReportRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i5.DownloadReportPage());
},
);
}
/// generated route for
/// [_i6.ErrorPage]
class ErrorRoute extends _i26.PageRouteInfo<ErrorRouteArgs> {
ErrorRoute({
_i27.Key? key,
String? title,
String? message,
_i27.VoidCallback? onRetry,
_i27.VoidCallback? onBack,
String? errorCode,
_i27.IconData? errorIcon,
List<_i26.PageRouteInfo>? children,
}) : super(
ErrorRoute.name,
args: ErrorRouteArgs(
key: key,
title: title,
message: message,
onRetry: onRetry,
onBack: onBack,
errorCode: errorCode,
errorIcon: errorIcon,
),
initialChildren: children,
);
static const String name = 'ErrorRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
final args = data.argsAs<ErrorRouteArgs>(
orElse: () => const ErrorRouteArgs(),
);
return _i6.ErrorPage(
key: args.key,
title: args.title,
message: args.message,
onRetry: args.onRetry,
onBack: args.onBack,
errorCode: args.errorCode,
errorIcon: args.errorIcon,
);
},
);
}
class ErrorRouteArgs {
const ErrorRouteArgs({
this.key,
this.title,
this.message,
this.onRetry,
this.onBack,
this.errorCode,
this.errorIcon,
});
final _i27.Key? key;
final String? title;
final String? message;
final _i27.VoidCallback? onRetry;
final _i27.VoidCallback? onBack;
final String? errorCode;
final _i27.IconData? errorIcon;
@override
String toString() {
return 'ErrorRouteArgs{key: $key, title: $title, message: $message, onRetry: $onRetry, onBack: $onBack, errorCode: $errorCode, errorIcon: $errorIcon}';
}
}
/// generated route for
/// [_i7.FinancePage]
class FinanceRoute extends _i26.PageRouteInfo<void> {
const FinanceRoute({List<_i26.PageRouteInfo>? children})
: super(FinanceRoute.name, initialChildren: children);
static const String name = 'FinanceRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i7.FinancePage());
},
);
}
/// generated route for
/// [_i8.HomePage]
class HomeRoute extends _i26.PageRouteInfo<void> {
const HomeRoute({List<_i26.PageRouteInfo>? children})
: super(HomeRoute.name, initialChildren: children);
static const String name = 'HomeRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i8.HomePage());
},
);
}
/// generated route for
/// [_i9.InventoryPage]
class InventoryRoute extends _i26.PageRouteInfo<void> {
const InventoryRoute({List<_i26.PageRouteInfo>? children})
: super(InventoryRoute.name, initialChildren: children);
static const String name = 'InventoryRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i9.InventoryPage());
},
);
}
/// generated route for
/// [_i10.LanguagePage]
class LanguageRoute extends _i26.PageRouteInfo<void> {
const LanguageRoute({List<_i26.PageRouteInfo>? children})
: super(LanguageRoute.name, initialChildren: children);
static const String name = 'LanguageRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i10.LanguagePage();
},
);
}
/// generated route for
/// [_i11.LoginPage]
class LoginRoute extends _i26.PageRouteInfo<void> {
const LoginRoute({List<_i26.PageRouteInfo>? children})
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i11.LoginPage());
},
);
}
/// generated route for
/// [_i12.MainPage]
class MainRoute extends _i26.PageRouteInfo<void> {
const MainRoute({List<_i26.PageRouteInfo>? children})
: super(MainRoute.name, initialChildren: children);
static const String name = 'MainRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i12.MainPage();
},
);
}
/// generated route for
/// [_i13.OrderDetailPage]
class OrderDetailRoute extends _i26.PageRouteInfo<OrderDetailRouteArgs> {
OrderDetailRoute({
_i27.Key? key,
required _i28.Order order,
List<_i26.PageRouteInfo>? children,
}) : super(
OrderDetailRoute.name,
args: OrderDetailRouteArgs(key: key, order: order),
initialChildren: children,
);
static const String name = 'OrderDetailRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
final args = data.argsAs<OrderDetailRouteArgs>();
return _i13.OrderDetailPage(key: args.key, order: args.order);
},
);
}
class OrderDetailRouteArgs {
const OrderDetailRouteArgs({this.key, required this.order});
final _i27.Key? key;
final _i28.Order order;
@override
String toString() {
return 'OrderDetailRouteArgs{key: $key, order: $order}';
}
}
/// generated route for
/// [_i14.OrderPage]
class OrderRoute extends _i26.PageRouteInfo<void> {
const OrderRoute({List<_i26.PageRouteInfo>? children})
: super(OrderRoute.name, initialChildren: children);
static const String name = 'OrderRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i14.OrderPage());
},
);
}
/// generated route for
/// [_i15.OutletInformationPage]
class OutletInformationRoute extends _i26.PageRouteInfo<void> {
const OutletInformationRoute({List<_i26.PageRouteInfo>? children})
: super(OutletInformationRoute.name, initialChildren: children);
static const String name = 'OutletInformationRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i15.OutletInformationPage());
},
);
}
/// generated route for
/// [_i16.ProductAnalyticPage]
class ProductAnalyticRoute extends _i26.PageRouteInfo<void> {
const ProductAnalyticRoute({List<_i26.PageRouteInfo>? children})
: super(ProductAnalyticRoute.name, initialChildren: children);
static const String name = 'ProductAnalyticRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i16.ProductAnalyticPage());
},
);
}
/// generated route for
/// [_i17.ProductPage]
class ProductRoute extends _i26.PageRouteInfo<void> {
const ProductRoute({List<_i26.PageRouteInfo>? children})
: super(ProductRoute.name, initialChildren: children);
static const String name = 'ProductRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i17.ProductPage());
},
);
}
/// generated route for
/// [_i18.ProfileChangePasswordPage]
class ProfileChangePasswordRoute extends _i26.PageRouteInfo<void> {
const ProfileChangePasswordRoute({List<_i26.PageRouteInfo>? children})
: super(ProfileChangePasswordRoute.name, initialChildren: children);
static const String name = 'ProfileChangePasswordRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i18.ProfileChangePasswordPage());
},
);
}
/// generated route for
/// [_i19.ProfileEditPage]
class ProfileEditRoute extends _i26.PageRouteInfo<ProfileEditRouteArgs> {
ProfileEditRoute({
_i27.Key? key,
required _i29.User user,
List<_i26.PageRouteInfo>? children,
}) : super(
ProfileEditRoute.name,
args: ProfileEditRouteArgs(key: key, user: user),
initialChildren: children,
);
static const String name = 'ProfileEditRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
final args = data.argsAs<ProfileEditRouteArgs>();
return _i26.WrappedRoute(
child: _i19.ProfileEditPage(key: args.key, user: args.user),
);
},
);
}
class ProfileEditRouteArgs {
const ProfileEditRouteArgs({this.key, required this.user});
final _i27.Key? key;
final _i29.User user;
@override
String toString() {
return 'ProfileEditRouteArgs{key: $key, user: $user}';
}
}
/// generated route for
/// [_i20.ProfilePage]
class ProfileRoute extends _i26.PageRouteInfo<void> {
const ProfileRoute({List<_i26.PageRouteInfo>? children})
: super(ProfileRoute.name, initialChildren: children);
static const String name = 'ProfileRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i20.ProfilePage());
},
);
}
/// generated route for
/// [_i21.PurchasePage]
class PurchaseRoute extends _i26.PageRouteInfo<void> {
const PurchaseRoute({List<_i26.PageRouteInfo>? children})
: super(PurchaseRoute.name, initialChildren: children);
static const String name = 'PurchaseRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i21.PurchasePage();
},
);
}
/// generated route for
/// [_i22.ReportPage]
class ReportRoute extends _i26.PageRouteInfo<void> {
const ReportRoute({List<_i26.PageRouteInfo>? children})
: super(ReportRoute.name, initialChildren: children);
static const String name = 'ReportRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i22.ReportPage());
},
);
}
/// generated route for
/// [_i23.SalesPage]
class SalesRoute extends _i26.PageRouteInfo<void> {
const SalesRoute({List<_i26.PageRouteInfo>? children})
: super(SalesRoute.name, initialChildren: children);
static const String name = 'SalesRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return _i26.WrappedRoute(child: const _i23.SalesPage());
},
);
}
/// generated route for
/// [_i24.SchedulePage]
class ScheduleRoute extends _i26.PageRouteInfo<void> {
const ScheduleRoute({List<_i26.PageRouteInfo>? children})
: super(ScheduleRoute.name, initialChildren: children);
static const String name = 'ScheduleRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i24.SchedulePage();
},
);
}
/// generated route for
/// [_i25.SplashPage]
class SplashRoute extends _i26.PageRouteInfo<void> {
const SplashRoute({List<_i26.PageRouteInfo>? children})
: super(SplashRoute.name, initialChildren: children);
static const String name = 'SplashRoute';
static _i26.PageInfo page = _i26.PageInfo(
name,
builder: (data) {
return const _i25.SplashPage();
},
);
}