235 lines
6.3 KiB
Dart
Raw Normal View History

2025-10-23 22:16:53 +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-10-24 01:16:50 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/auth/login/login_page.dart'
2025-10-24 02:02:21 +07:00
as _i4;
2025-10-27 01:54:35 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/checkout/checkout_page.dart'
2025-10-23 22:16:53 +07:00
as _i1;
2025-10-27 01:54:35 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/main/main_page.dart'
as _i5;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/customer/customer_page.dart'
2025-10-24 01:16:50 +07:00
as _i2;
2025-10-27 01:54:35 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/home/home_page.dart'
as _i3;
2025-10-24 02:02:21 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/report/report_page.dart'
2025-10-27 01:54:35 +07:00
as _i7;
2025-10-27 21:55:19 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/setting/setting_page.dart'
as _i8;
2025-10-24 02:02:21 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/table/table_page.dart'
2025-10-27 21:55:19 +07:00
as _i11;
import 'package:apskel_pos_flutter_v2/presentation/pages/order/order_page.dart'
as _i6;
2025-10-24 02:02:21 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/splash/splash_page.dart'
2025-10-27 01:54:35 +07:00
as _i9;
2025-10-27 21:55:19 +07:00
import 'package:apskel_pos_flutter_v2/presentation/pages/sync/sync_page.dart'
as _i10;
import 'package:auto_route/auto_route.dart' as _i12;
2025-10-28 00:08:12 +07:00
import 'package:flutter/material.dart' as _i13;
2025-10-27 01:54:35 +07:00
/// generated route for
/// [_i1.CheckoutPage]
2025-10-27 21:55:19 +07:00
class CheckoutRoute extends _i12.PageRouteInfo<void> {
const CheckoutRoute({List<_i12.PageRouteInfo>? children})
2025-10-27 01:54:35 +07:00
: super(CheckoutRoute.name, initialChildren: children);
static const String name = 'CheckoutRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-27 01:54:35 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i1.CheckoutPage());
2025-10-27 01:54:35 +07:00
},
);
}
2025-10-24 02:02:21 +07:00
/// generated route for
2025-10-27 01:54:35 +07:00
/// [_i2.CustomerPage]
2025-10-27 21:55:19 +07:00
class CustomerRoute extends _i12.PageRouteInfo<void> {
const CustomerRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(CustomerRoute.name, initialChildren: children);
static const String name = 'CustomerRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i2.CustomerPage());
2025-10-24 02:02:21 +07:00
},
);
}
/// generated route for
2025-10-27 01:54:35 +07:00
/// [_i3.HomePage]
2025-10-27 21:55:19 +07:00
class HomeRoute extends _i12.PageRouteInfo<void> {
const HomeRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(HomeRoute.name, initialChildren: children);
static const String name = 'HomeRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i3.HomePage());
2025-10-24 02:02:21 +07:00
},
);
}
2025-10-24 01:16:50 +07:00
/// generated route for
2025-10-27 01:54:35 +07:00
/// [_i4.LoginPage]
2025-10-27 21:55:19 +07:00
class LoginRoute extends _i12.PageRouteInfo<void> {
const LoginRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 01:16:50 +07:00
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i4.LoginPage());
2025-10-24 02:02:21 +07:00
},
);
}
/// generated route for
2025-10-27 01:54:35 +07:00
/// [_i5.MainPage]
2025-10-27 21:55:19 +07:00
class MainRoute extends _i12.PageRouteInfo<void> {
const MainRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(MainRoute.name, initialChildren: children);
static const String name = 'MainRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 01:54:35 +07:00
return const _i5.MainPage();
2025-10-24 02:02:21 +07:00
},
);
}
/// generated route for
2025-10-27 21:55:19 +07:00
/// [_i6.OrderPage]
class OrderRoute extends _i12.PageRouteInfo<OrderRouteArgs> {
OrderRoute({
_i13.Key? key,
required String status,
List<_i12.PageRouteInfo>? children,
}) : super(
OrderRoute.name,
args: OrderRouteArgs(key: key, status: status),
initialChildren: children,
);
static const String name = 'OrderRoute';
static _i12.PageInfo page = _i12.PageInfo(
name,
builder: (data) {
final args = data.argsAs<OrderRouteArgs>();
2025-10-28 00:08:12 +07:00
return _i12.WrappedRoute(
child: _i6.OrderPage(key: args.key, status: args.status),
);
2025-10-27 21:55:19 +07:00
},
);
}
class OrderRouteArgs {
const OrderRouteArgs({this.key, required this.status});
final _i13.Key? key;
final String status;
@override
String toString() {
return 'OrderRouteArgs{key: $key, status: $status}';
}
}
/// generated route for
/// [_i7.ReportPage]
class ReportRoute extends _i12.PageRouteInfo<void> {
const ReportRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(ReportRoute.name, initialChildren: children);
static const String name = 'ReportRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return const _i7.ReportPage();
2025-10-24 02:02:21 +07:00
},
);
}
/// generated route for
2025-10-27 21:55:19 +07:00
/// [_i8.SettingPage]
class SettingRoute extends _i12.PageRouteInfo<void> {
const SettingRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(SettingRoute.name, initialChildren: children);
static const String name = 'SettingRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 01:16:50 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return const _i8.SettingPage();
2025-10-24 01:16:50 +07:00
},
);
}
2025-10-23 22:16:53 +07:00
/// generated route for
2025-10-27 21:55:19 +07:00
/// [_i9.SplashPage]
class SplashRoute extends _i12.PageRouteInfo<void> {
const SplashRoute({List<_i12.PageRouteInfo>? children})
2025-10-23 22:16:53 +07:00
: super(SplashRoute.name, initialChildren: children);
static const String name = 'SplashRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 02:02:21 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return const _i9.SplashPage();
2025-10-24 02:02:21 +07:00
},
);
}
/// generated route for
2025-10-27 21:55:19 +07:00
/// [_i10.SyncPage]
class SyncRoute extends _i12.PageRouteInfo<void> {
const SyncRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 20:06:42 +07:00
: super(SyncRoute.name, initialChildren: children);
static const String name = 'SyncRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-24 20:06:42 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i10.SyncPage());
2025-10-24 20:06:42 +07:00
},
);
}
/// generated route for
2025-10-27 21:55:19 +07:00
/// [_i11.TablePage]
class TableRoute extends _i12.PageRouteInfo<void> {
const TableRoute({List<_i12.PageRouteInfo>? children})
2025-10-24 02:02:21 +07:00
: super(TableRoute.name, initialChildren: children);
static const String name = 'TableRoute';
2025-10-27 21:55:19 +07:00
static _i12.PageInfo page = _i12.PageInfo(
2025-10-23 22:16:53 +07:00
name,
builder: (data) {
2025-10-27 21:55:19 +07:00
return _i12.WrappedRoute(child: const _i11.TablePage());
2025-10-23 22:16:53 +07:00
},
);
}