category repo
This commit is contained in:
@@ -22,5 +22,8 @@ class AppRouter extends RootStackRouter {
|
||||
AutoRoute(page: SettingRoute.page),
|
||||
],
|
||||
),
|
||||
|
||||
// Sync
|
||||
AutoRoute(page: SyncRoute.page),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -22,20 +22,22 @@ import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/report/repor
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/setting/setting_page.dart'
|
||||
as _i6;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/table/table_page.dart'
|
||||
as _i8;
|
||||
as _i9;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/splash/splash_page.dart'
|
||||
as _i7;
|
||||
import 'package:auto_route/auto_route.dart' as _i9;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/sync/sync_page.dart'
|
||||
as _i8;
|
||||
import 'package:auto_route/auto_route.dart' as _i10;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.CustomerPage]
|
||||
class CustomerRoute extends _i9.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i9.PageRouteInfo>? children})
|
||||
class CustomerRoute extends _i10.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(CustomerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CustomerRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.CustomerPage();
|
||||
@@ -45,13 +47,13 @@ class CustomerRoute extends _i9.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.HomePage]
|
||||
class HomeRoute extends _i9.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i9.PageRouteInfo>? children})
|
||||
class HomeRoute extends _i10.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(HomeRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'HomeRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.HomePage();
|
||||
@@ -61,29 +63,29 @@ class HomeRoute extends _i9.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.LoginPage]
|
||||
class LoginRoute extends _i9.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i9.PageRouteInfo>? children})
|
||||
class LoginRoute extends _i10.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i9.WrappedRoute(child: const _i3.LoginPage());
|
||||
return _i10.WrappedRoute(child: const _i3.LoginPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.MainPage]
|
||||
class MainRoute extends _i9.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i9.PageRouteInfo>? children})
|
||||
class MainRoute extends _i10.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(MainRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i4.MainPage();
|
||||
@@ -93,13 +95,13 @@ class MainRoute extends _i9.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.ReportPage]
|
||||
class ReportRoute extends _i9.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i9.PageRouteInfo>? children})
|
||||
class ReportRoute extends _i10.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(ReportRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ReportRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.ReportPage();
|
||||
@@ -109,13 +111,13 @@ class ReportRoute extends _i9.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.SettingPage]
|
||||
class SettingRoute extends _i9.PageRouteInfo<void> {
|
||||
const SettingRoute({List<_i9.PageRouteInfo>? children})
|
||||
class SettingRoute extends _i10.PageRouteInfo<void> {
|
||||
const SettingRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(SettingRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SettingRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.SettingPage();
|
||||
@@ -125,13 +127,13 @@ class SettingRoute extends _i9.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.SplashPage]
|
||||
class SplashRoute extends _i9.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i9.PageRouteInfo>? children})
|
||||
class SplashRoute extends _i10.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(SplashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.SplashPage();
|
||||
@@ -140,17 +142,33 @@ class SplashRoute extends _i9.PageRouteInfo<void> {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.TablePage]
|
||||
class TableRoute extends _i9.PageRouteInfo<void> {
|
||||
const TableRoute({List<_i9.PageRouteInfo>? children})
|
||||
/// [_i8.SyncPage]
|
||||
class SyncRoute extends _i10.PageRouteInfo<void> {
|
||||
const SyncRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(SyncRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SyncRoute';
|
||||
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.SyncPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.TablePage]
|
||||
class TableRoute extends _i10.PageRouteInfo<void> {
|
||||
const TableRoute({List<_i10.PageRouteInfo>? children})
|
||||
: super(TableRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TableRoute';
|
||||
|
||||
static _i9.PageInfo page = _i9.PageInfo(
|
||||
static _i10.PageInfo page = _i10.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.TablePage();
|
||||
return const _i9.TablePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user