mystery box
This commit is contained in:
@@ -70,5 +70,6 @@ class AppRouter extends RootStackRouter {
|
||||
|
||||
// Mini Games
|
||||
AutoRoute(page: FerrisWheelRoute.page),
|
||||
AutoRoute(page: MisteryBoxRoute.page),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
// coverage:ignore-file
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:auto_route/auto_route.dart' as _i33;
|
||||
import 'package:auto_route/auto_route.dart' as _i34;
|
||||
import 'package:enaklo/presentation/pages/account/account_my/account_my_page.dart'
|
||||
as _i1;
|
||||
import 'package:enaklo/presentation/pages/account/address/address_page.dart'
|
||||
as _i2;
|
||||
import 'package:enaklo/presentation/pages/account/payment/payment_page.dart'
|
||||
as _i22;
|
||||
as _i23;
|
||||
import 'package:enaklo/presentation/pages/auth/create_password/create_password_page.dart'
|
||||
as _i3;
|
||||
import 'package:enaklo/presentation/pages/auth/login/login_page.dart' as _i12;
|
||||
import 'package:enaklo/presentation/pages/auth/otp/otp_page.dart' as _i20;
|
||||
import 'package:enaklo/presentation/pages/auth/otp/otp_page.dart' as _i21;
|
||||
import 'package:enaklo/presentation/pages/auth/password/password_page.dart'
|
||||
as _i21;
|
||||
import 'package:enaklo/presentation/pages/auth/pin/pin_page.dart' as _i23;
|
||||
as _i22;
|
||||
import 'package:enaklo/presentation/pages/auth/pin/pin_page.dart' as _i24;
|
||||
import 'package:enaklo/presentation/pages/auth/register/register_page.dart'
|
||||
as _i28;
|
||||
as _i29;
|
||||
import 'package:enaklo/presentation/pages/draw/draw_page.dart' as _i7;
|
||||
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/draw_detail_page.dart'
|
||||
as _i4;
|
||||
@@ -40,43 +40,45 @@ import 'package:enaklo/presentation/pages/main/main_page.dart' as _i13;
|
||||
import 'package:enaklo/presentation/pages/main/pages/home/home_page.dart'
|
||||
as _i11;
|
||||
import 'package:enaklo/presentation/pages/main/pages/order/order_page.dart'
|
||||
as _i19;
|
||||
as _i20;
|
||||
import 'package:enaklo/presentation/pages/main/pages/profile/profile_page.dart'
|
||||
as _i27;
|
||||
as _i28;
|
||||
import 'package:enaklo/presentation/pages/main/pages/voucher/voucher_page.dart'
|
||||
as _i32;
|
||||
as _i33;
|
||||
import 'package:enaklo/presentation/pages/merchant/merchant_page.dart' as _i15;
|
||||
import 'package:enaklo/presentation/pages/merchant/pages/merchant_detail/merchant_detail_page.dart'
|
||||
as _i14;
|
||||
import 'package:enaklo/presentation/pages/mini_games/ferris_wheel/ferris_wheel_page.dart'
|
||||
as _i10;
|
||||
import 'package:enaklo/presentation/pages/notification/notification_page.dart'
|
||||
import 'package:enaklo/presentation/pages/mini_games/mistery_box/mistery_box_page.dart'
|
||||
as _i16;
|
||||
import 'package:enaklo/presentation/pages/onboarding/onboarding_page.dart'
|
||||
import 'package:enaklo/presentation/pages/notification/notification_page.dart'
|
||||
as _i17;
|
||||
import 'package:enaklo/presentation/pages/order/order_detail/order_detail_page.dart'
|
||||
import 'package:enaklo/presentation/pages/onboarding/onboarding_page.dart'
|
||||
as _i18;
|
||||
import 'package:enaklo/presentation/pages/order/order_detail/order_detail_page.dart'
|
||||
as _i19;
|
||||
import 'package:enaklo/presentation/pages/poin/pages/poin_history_page.dart'
|
||||
as _i24;
|
||||
as _i25;
|
||||
import 'package:enaklo/presentation/pages/poin/pages/product_redeem/product_redeem_page.dart'
|
||||
as _i26;
|
||||
import 'package:enaklo/presentation/pages/poin/poin_page.dart' as _i25;
|
||||
import 'package:enaklo/presentation/pages/reward/reward_page.dart' as _i29;
|
||||
import 'package:enaklo/presentation/pages/splash/splash_page.dart' as _i30;
|
||||
as _i27;
|
||||
import 'package:enaklo/presentation/pages/poin/poin_page.dart' as _i26;
|
||||
import 'package:enaklo/presentation/pages/reward/reward_page.dart' as _i30;
|
||||
import 'package:enaklo/presentation/pages/splash/splash_page.dart' as _i31;
|
||||
import 'package:enaklo/presentation/pages/voucher/voucher_detail/voucher_detail_page.dart'
|
||||
as _i31;
|
||||
import 'package:enaklo/sample/sample_data.dart' as _i35;
|
||||
import 'package:flutter/material.dart' as _i34;
|
||||
as _i32;
|
||||
import 'package:enaklo/sample/sample_data.dart' as _i36;
|
||||
import 'package:flutter/material.dart' as _i35;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.AccountMyPage]
|
||||
class AccountMyRoute extends _i33.PageRouteInfo<void> {
|
||||
const AccountMyRoute({List<_i33.PageRouteInfo>? children})
|
||||
class AccountMyRoute extends _i34.PageRouteInfo<void> {
|
||||
const AccountMyRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(AccountMyRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AccountMyRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.AccountMyPage();
|
||||
@@ -86,13 +88,13 @@ class AccountMyRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.AddressPage]
|
||||
class AddressRoute extends _i33.PageRouteInfo<void> {
|
||||
const AddressRoute({List<_i33.PageRouteInfo>? children})
|
||||
class AddressRoute extends _i34.PageRouteInfo<void> {
|
||||
const AddressRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(AddressRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AddressRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.AddressPage();
|
||||
@@ -102,11 +104,11 @@ class AddressRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.CreatePasswordPage]
|
||||
class CreatePasswordRoute extends _i33.PageRouteInfo<CreatePasswordRouteArgs> {
|
||||
class CreatePasswordRoute extends _i34.PageRouteInfo<CreatePasswordRouteArgs> {
|
||||
CreatePasswordRoute({
|
||||
_i34.Key? key,
|
||||
_i35.Key? key,
|
||||
required String registrationToken,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
CreatePasswordRoute.name,
|
||||
args: CreatePasswordRouteArgs(
|
||||
@@ -118,11 +120,11 @@ class CreatePasswordRoute extends _i33.PageRouteInfo<CreatePasswordRouteArgs> {
|
||||
|
||||
static const String name = 'CreatePasswordRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<CreatePasswordRouteArgs>();
|
||||
return _i33.WrappedRoute(
|
||||
return _i34.WrappedRoute(
|
||||
child: _i3.CreatePasswordPage(
|
||||
key: args.key,
|
||||
registrationToken: args.registrationToken,
|
||||
@@ -135,7 +137,7 @@ class CreatePasswordRoute extends _i33.PageRouteInfo<CreatePasswordRouteArgs> {
|
||||
class CreatePasswordRouteArgs {
|
||||
const CreatePasswordRouteArgs({this.key, required this.registrationToken});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final String registrationToken;
|
||||
|
||||
@@ -147,13 +149,13 @@ class CreatePasswordRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.DrawDetailPage]
|
||||
class DrawDetailRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawDetailRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawDetailRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawDetailRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawDetailRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawDetailRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i4.DrawDetailPage();
|
||||
@@ -163,13 +165,13 @@ class DrawDetailRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.DrawInfoPage]
|
||||
class DrawInfoRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawInfoRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawInfoRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawInfoRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawInfoRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawInfoRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.DrawInfoPage();
|
||||
@@ -179,13 +181,13 @@ class DrawInfoRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.DrawMyNumberPage]
|
||||
class DrawMyNumberRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawMyNumberRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawMyNumberRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawMyNumberRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawMyNumberRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawMyNumberRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.DrawMyNumberPage();
|
||||
@@ -195,13 +197,13 @@ class DrawMyNumberRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.DrawPage]
|
||||
class DrawRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.DrawPage();
|
||||
@@ -211,13 +213,13 @@ class DrawRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.DrawTodayPage]
|
||||
class DrawTodayRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawTodayRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawTodayRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawTodayRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawTodayRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawTodayRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.DrawTodayPage();
|
||||
@@ -227,13 +229,13 @@ class DrawTodayRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.DrawWinnerPage]
|
||||
class DrawWinnerRoute extends _i33.PageRouteInfo<void> {
|
||||
const DrawWinnerRoute({List<_i33.PageRouteInfo>? children})
|
||||
class DrawWinnerRoute extends _i34.PageRouteInfo<void> {
|
||||
const DrawWinnerRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(DrawWinnerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DrawWinnerRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.DrawWinnerPage();
|
||||
@@ -243,29 +245,29 @@ class DrawWinnerRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.FerrisWheelPage]
|
||||
class FerrisWheelRoute extends _i33.PageRouteInfo<void> {
|
||||
const FerrisWheelRoute({List<_i33.PageRouteInfo>? children})
|
||||
class FerrisWheelRoute extends _i34.PageRouteInfo<void> {
|
||||
const FerrisWheelRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(FerrisWheelRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'FerrisWheelRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i33.WrappedRoute(child: const _i10.FerrisWheelPage());
|
||||
return _i34.WrappedRoute(child: const _i10.FerrisWheelPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.HomePage]
|
||||
class HomeRoute extends _i33.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i33.PageRouteInfo>? children})
|
||||
class HomeRoute extends _i34.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(HomeRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'HomeRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i11.HomePage();
|
||||
@@ -275,29 +277,29 @@ class HomeRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.LoginPage]
|
||||
class LoginRoute extends _i33.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i33.PageRouteInfo>? children})
|
||||
class LoginRoute extends _i34.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i33.WrappedRoute(child: const _i12.LoginPage());
|
||||
return _i34.WrappedRoute(child: const _i12.LoginPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.MainPage]
|
||||
class MainRoute extends _i33.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i33.PageRouteInfo>? children})
|
||||
class MainRoute extends _i34.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(MainRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i13.MainPage();
|
||||
@@ -307,11 +309,11 @@ class MainRoute extends _i33.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i14.MerchantDetailPage]
|
||||
class MerchantDetailRoute extends _i33.PageRouteInfo<MerchantDetailRouteArgs> {
|
||||
class MerchantDetailRoute extends _i34.PageRouteInfo<MerchantDetailRouteArgs> {
|
||||
MerchantDetailRoute({
|
||||
_i34.Key? key,
|
||||
required _i35.MerchantModel merchant,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
_i35.Key? key,
|
||||
required _i36.MerchantModel merchant,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
MerchantDetailRoute.name,
|
||||
args: MerchantDetailRouteArgs(key: key, merchant: merchant),
|
||||
@@ -320,7 +322,7 @@ class MerchantDetailRoute extends _i33.PageRouteInfo<MerchantDetailRouteArgs> {
|
||||
|
||||
static const String name = 'MerchantDetailRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<MerchantDetailRouteArgs>();
|
||||
@@ -332,9 +334,9 @@ class MerchantDetailRoute extends _i33.PageRouteInfo<MerchantDetailRouteArgs> {
|
||||
class MerchantDetailRouteArgs {
|
||||
const MerchantDetailRouteArgs({this.key, required this.merchant});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final _i35.MerchantModel merchant;
|
||||
final _i36.MerchantModel merchant;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -344,13 +346,13 @@ class MerchantDetailRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i15.MerchantPage]
|
||||
class MerchantRoute extends _i33.PageRouteInfo<void> {
|
||||
const MerchantRoute({List<_i33.PageRouteInfo>? children})
|
||||
class MerchantRoute extends _i34.PageRouteInfo<void> {
|
||||
const MerchantRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(MerchantRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MerchantRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i15.MerchantPage();
|
||||
@@ -359,44 +361,60 @@ class MerchantRoute extends _i33.PageRouteInfo<void> {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i16.NotificationPage]
|
||||
class NotificationRoute extends _i33.PageRouteInfo<void> {
|
||||
const NotificationRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i16.MisteryBoxPage]
|
||||
class MisteryBoxRoute extends _i34.PageRouteInfo<void> {
|
||||
const MisteryBoxRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(MisteryBoxRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MisteryBoxRoute';
|
||||
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i16.MisteryBoxPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i17.NotificationPage]
|
||||
class NotificationRoute extends _i34.PageRouteInfo<void> {
|
||||
const NotificationRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(NotificationRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NotificationRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i16.NotificationPage();
|
||||
return const _i17.NotificationPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i17.OnboardingPage]
|
||||
class OnboardingRoute extends _i33.PageRouteInfo<void> {
|
||||
const OnboardingRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i18.OnboardingPage]
|
||||
class OnboardingRoute extends _i34.PageRouteInfo<void> {
|
||||
const OnboardingRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(OnboardingRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'OnboardingRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i17.OnboardingPage();
|
||||
return const _i18.OnboardingPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i18.OrderDetailPage]
|
||||
class OrderDetailRoute extends _i33.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
/// [_i19.OrderDetailPage]
|
||||
class OrderDetailRoute extends _i34.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
OrderDetailRoute({
|
||||
_i34.Key? key,
|
||||
required _i19.Order order,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
_i35.Key? key,
|
||||
required _i20.Order order,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
OrderDetailRoute.name,
|
||||
args: OrderDetailRouteArgs(key: key, order: order),
|
||||
@@ -405,11 +423,11 @@ class OrderDetailRoute extends _i33.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
|
||||
static const String name = 'OrderDetailRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<OrderDetailRouteArgs>();
|
||||
return _i18.OrderDetailPage(key: args.key, order: args.order);
|
||||
return _i19.OrderDetailPage(key: args.key, order: args.order);
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -417,9 +435,9 @@ class OrderDetailRoute extends _i33.PageRouteInfo<OrderDetailRouteArgs> {
|
||||
class OrderDetailRouteArgs {
|
||||
const OrderDetailRouteArgs({this.key, required this.order});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final _i19.Order order;
|
||||
final _i20.Order order;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -428,29 +446,29 @@ class OrderDetailRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i19.OrderPage]
|
||||
class OrderRoute extends _i33.PageRouteInfo<void> {
|
||||
const OrderRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i20.OrderPage]
|
||||
class OrderRoute extends _i34.PageRouteInfo<void> {
|
||||
const OrderRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(OrderRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'OrderRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i19.OrderPage();
|
||||
return const _i20.OrderPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i20.OtpPage]
|
||||
class OtpRoute extends _i33.PageRouteInfo<OtpRouteArgs> {
|
||||
/// [_i21.OtpPage]
|
||||
class OtpRoute extends _i34.PageRouteInfo<OtpRouteArgs> {
|
||||
OtpRoute({
|
||||
_i34.Key? key,
|
||||
_i35.Key? key,
|
||||
required String registrationToken,
|
||||
required String phoneNumber,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
OtpRoute.name,
|
||||
args: OtpRouteArgs(
|
||||
@@ -463,12 +481,12 @@ class OtpRoute extends _i33.PageRouteInfo<OtpRouteArgs> {
|
||||
|
||||
static const String name = 'OtpRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<OtpRouteArgs>();
|
||||
return _i33.WrappedRoute(
|
||||
child: _i20.OtpPage(
|
||||
return _i34.WrappedRoute(
|
||||
child: _i21.OtpPage(
|
||||
key: args.key,
|
||||
registrationToken: args.registrationToken,
|
||||
phoneNumber: args.phoneNumber,
|
||||
@@ -485,7 +503,7 @@ class OtpRouteArgs {
|
||||
required this.phoneNumber,
|
||||
});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final String registrationToken;
|
||||
|
||||
@@ -498,12 +516,12 @@ class OtpRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i21.PasswordPage]
|
||||
class PasswordRoute extends _i33.PageRouteInfo<PasswordRouteArgs> {
|
||||
/// [_i22.PasswordPage]
|
||||
class PasswordRoute extends _i34.PageRouteInfo<PasswordRouteArgs> {
|
||||
PasswordRoute({
|
||||
_i34.Key? key,
|
||||
_i35.Key? key,
|
||||
required String phoneNumber,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PasswordRoute.name,
|
||||
args: PasswordRouteArgs(key: key, phoneNumber: phoneNumber),
|
||||
@@ -512,12 +530,12 @@ class PasswordRoute extends _i33.PageRouteInfo<PasswordRouteArgs> {
|
||||
|
||||
static const String name = 'PasswordRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PasswordRouteArgs>();
|
||||
return _i33.WrappedRoute(
|
||||
child: _i21.PasswordPage(key: args.key, phoneNumber: args.phoneNumber),
|
||||
return _i34.WrappedRoute(
|
||||
child: _i22.PasswordPage(key: args.key, phoneNumber: args.phoneNumber),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -526,7 +544,7 @@ class PasswordRoute extends _i33.PageRouteInfo<PasswordRouteArgs> {
|
||||
class PasswordRouteArgs {
|
||||
const PasswordRouteArgs({this.key, required this.phoneNumber});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final String phoneNumber;
|
||||
|
||||
@@ -537,29 +555,29 @@ class PasswordRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i22.PaymentPage]
|
||||
class PaymentRoute extends _i33.PageRouteInfo<void> {
|
||||
const PaymentRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i23.PaymentPage]
|
||||
class PaymentRoute extends _i34.PageRouteInfo<void> {
|
||||
const PaymentRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(PaymentRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PaymentRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i22.PaymentPage();
|
||||
return const _i23.PaymentPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i23.PinPage]
|
||||
class PinRoute extends _i33.PageRouteInfo<PinRouteArgs> {
|
||||
/// [_i24.PinPage]
|
||||
class PinRoute extends _i34.PageRouteInfo<PinRouteArgs> {
|
||||
PinRoute({
|
||||
_i34.Key? key,
|
||||
_i35.Key? key,
|
||||
bool isCreatePin = true,
|
||||
String? title,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PinRoute.name,
|
||||
args: PinRouteArgs(key: key, isCreatePin: isCreatePin, title: title),
|
||||
@@ -568,13 +586,13 @@ class PinRoute extends _i33.PageRouteInfo<PinRouteArgs> {
|
||||
|
||||
static const String name = 'PinRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PinRouteArgs>(
|
||||
orElse: () => const PinRouteArgs(),
|
||||
);
|
||||
return _i23.PinPage(
|
||||
return _i24.PinPage(
|
||||
key: args.key,
|
||||
isCreatePin: args.isCreatePin,
|
||||
title: args.title,
|
||||
@@ -586,7 +604,7 @@ class PinRoute extends _i33.PageRouteInfo<PinRouteArgs> {
|
||||
class PinRouteArgs {
|
||||
const PinRouteArgs({this.key, this.isCreatePin = true, this.title});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final bool isCreatePin;
|
||||
|
||||
@@ -599,45 +617,45 @@ class PinRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i24.PoinHistoryPage]
|
||||
class PoinHistoryRoute extends _i33.PageRouteInfo<void> {
|
||||
const PoinHistoryRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i25.PoinHistoryPage]
|
||||
class PoinHistoryRoute extends _i34.PageRouteInfo<void> {
|
||||
const PoinHistoryRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(PoinHistoryRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PoinHistoryRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i24.PoinHistoryPage();
|
||||
return const _i25.PoinHistoryPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i25.PoinPage]
|
||||
class PoinRoute extends _i33.PageRouteInfo<void> {
|
||||
const PoinRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i26.PoinPage]
|
||||
class PoinRoute extends _i34.PageRouteInfo<void> {
|
||||
const PoinRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(PoinRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PoinRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i25.PoinPage();
|
||||
return const _i26.PoinPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i26.ProductRedeemPage]
|
||||
class ProductRedeemRoute extends _i33.PageRouteInfo<ProductRedeemRouteArgs> {
|
||||
/// [_i27.ProductRedeemPage]
|
||||
class ProductRedeemRoute extends _i34.PageRouteInfo<ProductRedeemRouteArgs> {
|
||||
ProductRedeemRoute({
|
||||
_i34.Key? key,
|
||||
required _i25.Product product,
|
||||
required _i25.PointCard pointCard,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
_i35.Key? key,
|
||||
required _i26.Product product,
|
||||
required _i26.PointCard pointCard,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ProductRedeemRoute.name,
|
||||
args: ProductRedeemRouteArgs(
|
||||
@@ -650,11 +668,11 @@ class ProductRedeemRoute extends _i33.PageRouteInfo<ProductRedeemRouteArgs> {
|
||||
|
||||
static const String name = 'ProductRedeemRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<ProductRedeemRouteArgs>();
|
||||
return _i26.ProductRedeemPage(
|
||||
return _i27.ProductRedeemPage(
|
||||
key: args.key,
|
||||
product: args.product,
|
||||
pointCard: args.pointCard,
|
||||
@@ -670,11 +688,11 @@ class ProductRedeemRouteArgs {
|
||||
required this.pointCard,
|
||||
});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final _i25.Product product;
|
||||
final _i26.Product product;
|
||||
|
||||
final _i25.PointCard pointCard;
|
||||
final _i26.PointCard pointCard;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -683,28 +701,28 @@ class ProductRedeemRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i27.ProfilePage]
|
||||
class ProfileRoute extends _i33.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i28.ProfilePage]
|
||||
class ProfileRoute extends _i34.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(ProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProfileRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i33.WrappedRoute(child: const _i27.ProfilePage());
|
||||
return _i34.WrappedRoute(child: const _i28.ProfilePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i28.RegisterPage]
|
||||
class RegisterRoute extends _i33.PageRouteInfo<RegisterRouteArgs> {
|
||||
/// [_i29.RegisterPage]
|
||||
class RegisterRoute extends _i34.PageRouteInfo<RegisterRouteArgs> {
|
||||
RegisterRoute({
|
||||
_i34.Key? key,
|
||||
_i35.Key? key,
|
||||
required String phoneNumber,
|
||||
List<_i33.PageRouteInfo>? children,
|
||||
List<_i34.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
RegisterRoute.name,
|
||||
args: RegisterRouteArgs(key: key, phoneNumber: phoneNumber),
|
||||
@@ -713,12 +731,12 @@ class RegisterRoute extends _i33.PageRouteInfo<RegisterRouteArgs> {
|
||||
|
||||
static const String name = 'RegisterRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<RegisterRouteArgs>();
|
||||
return _i33.WrappedRoute(
|
||||
child: _i28.RegisterPage(key: args.key, phoneNumber: args.phoneNumber),
|
||||
return _i34.WrappedRoute(
|
||||
child: _i29.RegisterPage(key: args.key, phoneNumber: args.phoneNumber),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -727,7 +745,7 @@ class RegisterRoute extends _i33.PageRouteInfo<RegisterRouteArgs> {
|
||||
class RegisterRouteArgs {
|
||||
const RegisterRouteArgs({this.key, required this.phoneNumber});
|
||||
|
||||
final _i34.Key? key;
|
||||
final _i35.Key? key;
|
||||
|
||||
final String phoneNumber;
|
||||
|
||||
@@ -738,65 +756,65 @@ class RegisterRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i29.RewardPage]
|
||||
class RewardRoute extends _i33.PageRouteInfo<void> {
|
||||
const RewardRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i30.RewardPage]
|
||||
class RewardRoute extends _i34.PageRouteInfo<void> {
|
||||
const RewardRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(RewardRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'RewardRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i29.RewardPage();
|
||||
return const _i30.RewardPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i30.SplashPage]
|
||||
class SplashRoute extends _i33.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i31.SplashPage]
|
||||
class SplashRoute extends _i34.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(SplashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i30.SplashPage();
|
||||
return const _i31.SplashPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i31.VoucherDetailPage]
|
||||
class VoucherDetailRoute extends _i33.PageRouteInfo<void> {
|
||||
const VoucherDetailRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i32.VoucherDetailPage]
|
||||
class VoucherDetailRoute extends _i34.PageRouteInfo<void> {
|
||||
const VoucherDetailRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(VoucherDetailRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'VoucherDetailRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i31.VoucherDetailPage();
|
||||
return const _i32.VoucherDetailPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i32.VoucherPage]
|
||||
class VoucherRoute extends _i33.PageRouteInfo<void> {
|
||||
const VoucherRoute({List<_i33.PageRouteInfo>? children})
|
||||
/// [_i33.VoucherPage]
|
||||
class VoucherRoute extends _i34.PageRouteInfo<void> {
|
||||
const VoucherRoute({List<_i34.PageRouteInfo>? children})
|
||||
: super(VoucherRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'VoucherRoute';
|
||||
|
||||
static _i33.PageInfo page = _i33.PageInfo(
|
||||
static _i34.PageInfo page = _i34.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i32.VoucherPage();
|
||||
return const _i33.VoucherPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user