feat: comming page
This commit is contained in:
parent
b731704a3d
commit
811ac4b202
186
lib/presentation/pages/coming_soon/coming_soon_page.dart
Normal file
186
lib/presentation/pages/coming_soon/coming_soon_page.dart
Normal file
@ -0,0 +1,186 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
|
||||
import '../../../common/theme/theme.dart';
|
||||
|
||||
@RoutePage()
|
||||
class ComingSoonPage extends StatefulWidget {
|
||||
const ComingSoonPage({super.key});
|
||||
|
||||
@override
|
||||
State<ComingSoonPage> createState() => _ComingSoonPageState();
|
||||
}
|
||||
|
||||
class _ComingSoonPageState extends State<ComingSoonPage>
|
||||
with TickerProviderStateMixin {
|
||||
late AnimationController _fadeController;
|
||||
late AnimationController _slideController;
|
||||
late AnimationController _pulseController;
|
||||
|
||||
late Animation<double> _fadeAnimation;
|
||||
late Animation<Offset> _slideAnimation;
|
||||
late Animation<double> _pulseAnimation;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
// Initialize animation controllers
|
||||
_fadeController = AnimationController(
|
||||
duration: const Duration(milliseconds: 1500),
|
||||
vsync: this,
|
||||
);
|
||||
|
||||
_slideController = AnimationController(
|
||||
duration: const Duration(milliseconds: 1200),
|
||||
vsync: this,
|
||||
);
|
||||
|
||||
_pulseController = AnimationController(
|
||||
duration: const Duration(milliseconds: 2000),
|
||||
vsync: this,
|
||||
);
|
||||
|
||||
// Initialize animations
|
||||
_fadeAnimation = Tween<double>(begin: 0.0, end: 1.0).animate(
|
||||
CurvedAnimation(parent: _fadeController, curve: Curves.easeInOut),
|
||||
);
|
||||
|
||||
_slideAnimation =
|
||||
Tween<Offset>(begin: const Offset(0, 0.5), end: Offset.zero).animate(
|
||||
CurvedAnimation(parent: _slideController, curve: Curves.easeOutCubic),
|
||||
);
|
||||
|
||||
_pulseAnimation = Tween<double>(begin: 1.0, end: 1.1).animate(
|
||||
CurvedAnimation(parent: _pulseController, curve: Curves.easeInOut),
|
||||
);
|
||||
|
||||
// Start animations
|
||||
_startAnimations();
|
||||
}
|
||||
|
||||
void _startAnimations() {
|
||||
_fadeController.forward();
|
||||
_slideController.forward();
|
||||
_pulseController.repeat(reverse: true);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_fadeController.dispose();
|
||||
_slideController.dispose();
|
||||
_pulseController.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
body: Container(
|
||||
width: double.infinity,
|
||||
height: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
colors: [
|
||||
AppColor.primary,
|
||||
AppColor.primaryLight,
|
||||
AppColor.primaryDark,
|
||||
],
|
||||
stops: const [0.0, 0.5, 1.0],
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
// Animated Logo/Icon
|
||||
FadeTransition(
|
||||
opacity: _fadeAnimation,
|
||||
child: SlideTransition(
|
||||
position: _slideAnimation,
|
||||
child: _buildAnimatedLogo(),
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 40),
|
||||
|
||||
// Coming Soon Text
|
||||
FadeTransition(
|
||||
opacity: _fadeAnimation,
|
||||
child: SlideTransition(
|
||||
position: _slideAnimation,
|
||||
child: Text(
|
||||
'Coming Soon',
|
||||
style: AppStyle.h1.copyWith(
|
||||
color: AppColor.textWhite,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 42,
|
||||
letterSpacing: 2.0,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 16),
|
||||
|
||||
// Subtitle
|
||||
FadeTransition(
|
||||
opacity: _fadeAnimation,
|
||||
child: SlideTransition(
|
||||
position: _slideAnimation,
|
||||
child: Text(
|
||||
'Something amazing is brewing!\nStay tuned for the big reveal.',
|
||||
style: AppStyle.lg.copyWith(
|
||||
color: AppColor.textWhite.withOpacity(0.9),
|
||||
height: 1.5,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildAnimatedLogo() {
|
||||
return AnimatedBuilder(
|
||||
animation: _pulseAnimation,
|
||||
builder: (context, child) {
|
||||
return Transform.scale(
|
||||
scale: _pulseAnimation.value,
|
||||
child: Container(
|
||||
width: 120,
|
||||
height: 120,
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
gradient: LinearGradient(
|
||||
colors: [AppColor.secondary, AppColor.secondaryLight],
|
||||
),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppColor.secondary.withOpacity(0.3),
|
||||
blurRadius: 30,
|
||||
spreadRadius: 5,
|
||||
),
|
||||
],
|
||||
),
|
||||
child: Icon(
|
||||
Icons.rocket_launch,
|
||||
size: 60,
|
||||
color: AppColor.textWhite,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -52,20 +52,7 @@ class ProfileBusinessSetting extends StatelessWidget {
|
||||
icon: Icons.people_outline,
|
||||
title: 'Staff Management',
|
||||
subtitle: 'Manage employees and permissions',
|
||||
onTap: () {
|
||||
// Navigate to staff management
|
||||
},
|
||||
),
|
||||
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.payment_outlined,
|
||||
title: 'Payment Methods',
|
||||
subtitle: 'Configure payment options',
|
||||
onTap: () {
|
||||
// Navigate to payment settings
|
||||
},
|
||||
onTap: () => context.router.push(ComingSoonRoute()),
|
||||
),
|
||||
|
||||
ProfileDivider(),
|
||||
|
||||
@ -50,13 +50,16 @@ class AppRouter extends RootStackRouter {
|
||||
// Finance page
|
||||
AutoRoute(page: FinanceRoute.page),
|
||||
|
||||
// Error
|
||||
AutoRoute(page: ErrorRoute.page),
|
||||
|
||||
// Order
|
||||
AutoRoute(page: OrderDetailRoute.page),
|
||||
|
||||
// Outlet
|
||||
AutoRoute(page: OutletInformationRoute.page),
|
||||
|
||||
// Error
|
||||
AutoRoute(page: ErrorRoute.page),
|
||||
|
||||
// Coming Soong
|
||||
AutoRoute(page: ComingSoonRoute.page),
|
||||
];
|
||||
}
|
||||
|
||||
@ -9,94 +9,112 @@
|
||||
// coverage:ignore-file
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i23;
|
||||
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i24;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
|
||||
as _i8;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
|
||||
as _i1;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
|
||||
as _i3;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
|
||||
as _i4;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
|
||||
as _i2;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
|
||||
as _i5;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
|
||||
as _i6;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
|
||||
as _i7;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
|
||||
as _i9;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/coming_soon/coming_soon_page.dart'
|
||||
as _i1;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
|
||||
as _i2;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
|
||||
as _i4;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
|
||||
as _i5;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
|
||||
as _i3;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
|
||||
as _i6;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
|
||||
as _i7;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
|
||||
as _i8;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
|
||||
as _i10;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
|
||||
as _i11;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
|
||||
as _i12;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
|
||||
as _i13;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
|
||||
as _i14;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
|
||||
as _i15;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
|
||||
as _i16;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
|
||||
as _i17;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||
as _i18;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
||||
as _i19;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||
as _i20;
|
||||
import 'package:auto_route/auto_route.dart' as _i21;
|
||||
import 'package:flutter/material.dart' as _i22;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||
as _i21;
|
||||
import 'package:auto_route/auto_route.dart' as _i22;
|
||||
import 'package:flutter/material.dart' as _i23;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.CustomerPage]
|
||||
class CustomerRoute extends _i21.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i1.ComingSoonPage]
|
||||
class ComingSoonRoute extends _i22.PageRouteInfo<void> {
|
||||
const ComingSoonRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ComingSoonRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ComingSoonRoute';
|
||||
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.ComingSoonPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.CustomerPage]
|
||||
class CustomerRoute extends _i22.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(CustomerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CustomerRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i1.CustomerPage());
|
||||
return _i22.WrappedRoute(child: const _i2.CustomerPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.DailyTasksFormPage]
|
||||
class DailyTasksFormRoute extends _i21.PageRouteInfo<void> {
|
||||
const DailyTasksFormRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i3.DailyTasksFormPage]
|
||||
class DailyTasksFormRoute extends _i22.PageRouteInfo<void> {
|
||||
const DailyTasksFormRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(DailyTasksFormRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DailyTasksFormRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.DailyTasksFormPage();
|
||||
return const _i3.DailyTasksFormPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.ErrorPage]
|
||||
class ErrorRoute extends _i21.PageRouteInfo<ErrorRouteArgs> {
|
||||
/// [_i4.ErrorPage]
|
||||
class ErrorRoute extends _i22.PageRouteInfo<ErrorRouteArgs> {
|
||||
ErrorRoute({
|
||||
_i22.Key? key,
|
||||
_i23.Key? key,
|
||||
String? title,
|
||||
String? message,
|
||||
_i22.VoidCallback? onRetry,
|
||||
_i22.VoidCallback? onBack,
|
||||
_i23.VoidCallback? onRetry,
|
||||
_i23.VoidCallback? onBack,
|
||||
String? errorCode,
|
||||
_i22.IconData? errorIcon,
|
||||
List<_i21.PageRouteInfo>? children,
|
||||
_i23.IconData? errorIcon,
|
||||
List<_i22.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ErrorRoute.name,
|
||||
args: ErrorRouteArgs(
|
||||
@ -113,13 +131,13 @@ class ErrorRoute extends _i21.PageRouteInfo<ErrorRouteArgs> {
|
||||
|
||||
static const String name = 'ErrorRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<ErrorRouteArgs>(
|
||||
orElse: () => const ErrorRouteArgs(),
|
||||
);
|
||||
return _i3.ErrorPage(
|
||||
return _i4.ErrorPage(
|
||||
key: args.key,
|
||||
title: args.title,
|
||||
message: args.message,
|
||||
@ -143,19 +161,19 @@ class ErrorRouteArgs {
|
||||
this.errorIcon,
|
||||
});
|
||||
|
||||
final _i22.Key? key;
|
||||
final _i23.Key? key;
|
||||
|
||||
final String? title;
|
||||
|
||||
final String? message;
|
||||
|
||||
final _i22.VoidCallback? onRetry;
|
||||
final _i23.VoidCallback? onRetry;
|
||||
|
||||
final _i22.VoidCallback? onBack;
|
||||
final _i23.VoidCallback? onBack;
|
||||
|
||||
final String? errorCode;
|
||||
|
||||
final _i22.IconData? errorIcon;
|
||||
final _i23.IconData? errorIcon;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@ -164,108 +182,108 @@ class ErrorRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.FinancePage]
|
||||
class FinanceRoute extends _i21.PageRouteInfo<void> {
|
||||
const FinanceRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i5.FinancePage]
|
||||
class FinanceRoute extends _i22.PageRouteInfo<void> {
|
||||
const FinanceRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(FinanceRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'FinanceRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i4.FinancePage());
|
||||
return _i22.WrappedRoute(child: const _i5.FinancePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.HomePage]
|
||||
class HomeRoute extends _i21.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i6.HomePage]
|
||||
class HomeRoute extends _i22.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(HomeRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'HomeRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.HomePage();
|
||||
return _i22.WrappedRoute(child: const _i6.HomePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.InventoryPage]
|
||||
class InventoryRoute extends _i21.PageRouteInfo<void> {
|
||||
const InventoryRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i7.InventoryPage]
|
||||
class InventoryRoute extends _i22.PageRouteInfo<void> {
|
||||
const InventoryRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(InventoryRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'InventoryRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i6.InventoryPage());
|
||||
return _i22.WrappedRoute(child: const _i7.InventoryPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.LanguagePage]
|
||||
class LanguageRoute extends _i21.PageRouteInfo<void> {
|
||||
const LanguageRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i8.LanguagePage]
|
||||
class LanguageRoute extends _i22.PageRouteInfo<void> {
|
||||
const LanguageRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(LanguageRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LanguageRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.LanguagePage();
|
||||
return const _i8.LanguagePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.LoginPage]
|
||||
class LoginRoute extends _i21.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i9.LoginPage]
|
||||
class LoginRoute extends _i22.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i8.LoginPage());
|
||||
return _i22.WrappedRoute(child: const _i9.LoginPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.MainPage]
|
||||
class MainRoute extends _i21.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i10.MainPage]
|
||||
class MainRoute extends _i22.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(MainRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.MainPage();
|
||||
return const _i10.MainPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.OrderDetailPage]
|
||||
class OrderDetailRoute extends _i21.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
/// [_i11.OrderDetailPage]
|
||||
class OrderDetailRoute extends _i22.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
OrderDetailRoute({
|
||||
_i22.Key? key,
|
||||
required _i23.Order order,
|
||||
List<_i21.PageRouteInfo>? children,
|
||||
_i23.Key? key,
|
||||
required _i24.Order order,
|
||||
List<_i22.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
OrderDetailRoute.name,
|
||||
args: OrderDetailRouteArgs(key: key, order: order),
|
||||
@ -274,11 +292,11 @@ class OrderDetailRoute extends _i21.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
|
||||
static const String name = 'OrderDetailRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<OrderDetailRouteArgs>();
|
||||
return _i10.OrderDetailPage(key: args.key, order: args.order);
|
||||
return _i11.OrderDetailPage(key: args.key, order: args.order);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -286,9 +304,9 @@ class OrderDetailRoute extends _i21.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
class OrderDetailRouteArgs {
|
||||
const OrderDetailRouteArgs({this.key, required this.order});
|
||||
|
||||
final _i22.Key? key;
|
||||
final _i23.Key? key;
|
||||
|
||||
final _i23.Order order;
|
||||
final _i24.Order order;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@ -297,161 +315,161 @@ class OrderDetailRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.OrderPage]
|
||||
class OrderRoute extends _i21.PageRouteInfo<void> {
|
||||
const OrderRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i12.OrderPage]
|
||||
class OrderRoute extends _i22.PageRouteInfo<void> {
|
||||
const OrderRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(OrderRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'OrderRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i11.OrderPage());
|
||||
return _i22.WrappedRoute(child: const _i12.OrderPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.OutletInformationPage]
|
||||
class OutletInformationRoute extends _i21.PageRouteInfo<void> {
|
||||
const OutletInformationRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i13.OutletInformationPage]
|
||||
class OutletInformationRoute extends _i22.PageRouteInfo<void> {
|
||||
const OutletInformationRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(OutletInformationRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'OutletInformationRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i12.OutletInformationPage());
|
||||
return _i22.WrappedRoute(child: const _i13.OutletInformationPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.ProductAnalyticPage]
|
||||
class ProductAnalyticRoute extends _i21.PageRouteInfo<void> {
|
||||
const ProductAnalyticRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i14.ProductAnalyticPage]
|
||||
class ProductAnalyticRoute extends _i22.PageRouteInfo<void> {
|
||||
const ProductAnalyticRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ProductAnalyticRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProductAnalyticRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i13.ProductAnalyticPage());
|
||||
return _i22.WrappedRoute(child: const _i14.ProductAnalyticPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i14.ProductPage]
|
||||
class ProductRoute extends _i21.PageRouteInfo<void> {
|
||||
const ProductRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i15.ProductPage]
|
||||
class ProductRoute extends _i22.PageRouteInfo<void> {
|
||||
const ProductRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ProductRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProductRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i14.ProductPage());
|
||||
return _i22.WrappedRoute(child: const _i15.ProductPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i15.ProfilePage]
|
||||
class ProfileRoute extends _i21.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i16.ProfilePage]
|
||||
class ProfileRoute extends _i22.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProfileRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i15.ProfilePage());
|
||||
return _i22.WrappedRoute(child: const _i16.ProfilePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i16.PurchasePage]
|
||||
class PurchaseRoute extends _i21.PageRouteInfo<void> {
|
||||
const PurchaseRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i17.PurchasePage]
|
||||
class PurchaseRoute extends _i22.PageRouteInfo<void> {
|
||||
const PurchaseRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(PurchaseRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PurchaseRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i16.PurchasePage();
|
||||
return const _i17.PurchasePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i17.ReportPage]
|
||||
class ReportRoute extends _i21.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i18.ReportPage]
|
||||
class ReportRoute extends _i22.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ReportRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ReportRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i17.ReportPage());
|
||||
return _i22.WrappedRoute(child: const _i18.ReportPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i18.SalesPage]
|
||||
class SalesRoute extends _i21.PageRouteInfo<void> {
|
||||
const SalesRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i19.SalesPage]
|
||||
class SalesRoute extends _i22.PageRouteInfo<void> {
|
||||
const SalesRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(SalesRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SalesRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i21.WrappedRoute(child: const _i18.SalesPage());
|
||||
return _i22.WrappedRoute(child: const _i19.SalesPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i19.SchedulePage]
|
||||
class ScheduleRoute extends _i21.PageRouteInfo<void> {
|
||||
const ScheduleRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i20.SchedulePage]
|
||||
class ScheduleRoute extends _i22.PageRouteInfo<void> {
|
||||
const ScheduleRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(ScheduleRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ScheduleRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i19.SchedulePage();
|
||||
return const _i20.SchedulePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i20.SplashPage]
|
||||
class SplashRoute extends _i21.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i21.PageRouteInfo>? children})
|
||||
/// [_i21.SplashPage]
|
||||
class SplashRoute extends _i22.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i22.PageRouteInfo>? children})
|
||||
: super(SplashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashRoute';
|
||||
|
||||
static _i21.PageInfo page = _i21.PageInfo(
|
||||
static _i22.PageInfo page = _i22.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i20.SplashPage();
|
||||
return const _i21.SplashPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user