Success Split Bill Page
This commit is contained in:
@@ -37,6 +37,7 @@ class AppRouter extends RootStackRouter {
|
||||
// Payment
|
||||
AutoRoute(page: PaymentRoute.page),
|
||||
AutoRoute(page: PaymentSuccessRoute.page),
|
||||
AutoRoute(page: PaymentSuccessSplitBillRoute.page),
|
||||
|
||||
// Void
|
||||
AutoRoute(page: VoidRoute.page),
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
// coverage:ignore-file
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:apskel_pos_flutter_v2/common/types/split_type.dart' as _i22;
|
||||
import 'package:apskel_pos_flutter_v2/domain/order/order.dart' as _i21;
|
||||
import 'package:apskel_pos_flutter_v2/common/types/split_type.dart' as _i23;
|
||||
import 'package:apskel_pos_flutter_v2/domain/order/order.dart' as _i22;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/auth/login/login_page.dart'
|
||||
as _i4;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/checkout/checkout_page.dart'
|
||||
@@ -22,107 +22,109 @@ import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/customer/cus
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/home/home_page.dart'
|
||||
as _i3;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/report/report_page.dart'
|
||||
as _i9;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/setting/setting_page.dart'
|
||||
as _i10;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/setting/setting_page.dart'
|
||||
as _i11;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/table/table_page.dart'
|
||||
as _i16;
|
||||
as _i17;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/order/order_page.dart'
|
||||
as _i6;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/order/pages/success_add_item_order/success_add_item_order_page.dart'
|
||||
as _i13;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/order/pages/success_order/success_order_page.dart'
|
||||
as _i14;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/order/pages/success_order/success_order_page.dart'
|
||||
as _i15;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/pages/payment_success/payment_success_page.dart'
|
||||
as _i8;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/pages/payment_success_split_bill/payment_success_split_bill_page.dart'
|
||||
as _i9;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/payment_page.dart'
|
||||
as _i7;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/splash/splash_page.dart'
|
||||
as _i11;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/split_bill/split_bill_page.dart'
|
||||
as _i12;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/split_bill/split_bill_page.dart'
|
||||
as _i13;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/sync/sync_page.dart'
|
||||
as _i15;
|
||||
as _i16;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/void/pages/void_success/void_success_page.dart'
|
||||
as _i18;
|
||||
as _i19;
|
||||
import 'package:apskel_pos_flutter_v2/presentation/pages/void/void_page.dart'
|
||||
as _i17;
|
||||
import 'package:auto_route/auto_route.dart' as _i19;
|
||||
import 'package:flutter/material.dart' as _i20;
|
||||
as _i18;
|
||||
import 'package:auto_route/auto_route.dart' as _i20;
|
||||
import 'package:flutter/material.dart' as _i21;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.CheckoutPage]
|
||||
class CheckoutRoute extends _i19.PageRouteInfo<void> {
|
||||
const CheckoutRoute({List<_i19.PageRouteInfo>? children})
|
||||
class CheckoutRoute extends _i20.PageRouteInfo<void> {
|
||||
const CheckoutRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(CheckoutRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CheckoutRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i1.CheckoutPage());
|
||||
return _i20.WrappedRoute(child: const _i1.CheckoutPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.CustomerPage]
|
||||
class CustomerRoute extends _i19.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i19.PageRouteInfo>? children})
|
||||
class CustomerRoute extends _i20.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(CustomerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CustomerRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i2.CustomerPage());
|
||||
return _i20.WrappedRoute(child: const _i2.CustomerPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.HomePage]
|
||||
class HomeRoute extends _i19.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i19.PageRouteInfo>? children})
|
||||
class HomeRoute extends _i20.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(HomeRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'HomeRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i3.HomePage());
|
||||
return _i20.WrappedRoute(child: const _i3.HomePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.LoginPage]
|
||||
class LoginRoute extends _i19.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i19.PageRouteInfo>? children})
|
||||
class LoginRoute extends _i20.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i4.LoginPage());
|
||||
return _i20.WrappedRoute(child: const _i4.LoginPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.MainPage]
|
||||
class MainRoute extends _i19.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i19.PageRouteInfo>? children})
|
||||
class MainRoute extends _i20.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(MainRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.MainPage();
|
||||
@@ -132,11 +134,11 @@ class MainRoute extends _i19.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.OrderPage]
|
||||
class OrderRoute extends _i19.PageRouteInfo<OrderRouteArgs> {
|
||||
class OrderRoute extends _i20.PageRouteInfo<OrderRouteArgs> {
|
||||
OrderRoute({
|
||||
_i20.Key? key,
|
||||
_i21.Key? key,
|
||||
required String status,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
OrderRoute.name,
|
||||
args: OrderRouteArgs(key: key, status: status),
|
||||
@@ -145,11 +147,11 @@ class OrderRoute extends _i19.PageRouteInfo<OrderRouteArgs> {
|
||||
|
||||
static const String name = 'OrderRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<OrderRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
return _i20.WrappedRoute(
|
||||
child: _i6.OrderPage(key: args.key, status: args.status),
|
||||
);
|
||||
},
|
||||
@@ -159,7 +161,7 @@ class OrderRoute extends _i19.PageRouteInfo<OrderRouteArgs> {
|
||||
class OrderRouteArgs {
|
||||
const OrderRouteArgs({this.key, required this.status});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final String status;
|
||||
|
||||
@@ -171,15 +173,15 @@ class OrderRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.PaymentPage]
|
||||
class PaymentRoute extends _i19.PageRouteInfo<PaymentRouteArgs> {
|
||||
class PaymentRoute extends _i20.PageRouteInfo<PaymentRouteArgs> {
|
||||
PaymentRoute({
|
||||
_i20.Key? key,
|
||||
required _i21.Order order,
|
||||
_i21.Key? key,
|
||||
required _i22.Order order,
|
||||
bool isSplit = false,
|
||||
_i22.SplitType splitType = _i22.SplitType.unknown,
|
||||
_i23.SplitType splitType = _i23.SplitType.unknown,
|
||||
String? customerId,
|
||||
String? customerName,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PaymentRoute.name,
|
||||
args: PaymentRouteArgs(
|
||||
@@ -195,11 +197,11 @@ class PaymentRoute extends _i19.PageRouteInfo<PaymentRouteArgs> {
|
||||
|
||||
static const String name = 'PaymentRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PaymentRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
return _i20.WrappedRoute(
|
||||
child: _i7.PaymentPage(
|
||||
key: args.key,
|
||||
order: args.order,
|
||||
@@ -218,18 +220,18 @@ class PaymentRouteArgs {
|
||||
this.key,
|
||||
required this.order,
|
||||
this.isSplit = false,
|
||||
this.splitType = _i22.SplitType.unknown,
|
||||
this.splitType = _i23.SplitType.unknown,
|
||||
this.customerId,
|
||||
this.customerName,
|
||||
});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final _i21.Order order;
|
||||
final _i22.Order order;
|
||||
|
||||
final bool isSplit;
|
||||
|
||||
final _i22.SplitType splitType;
|
||||
final _i23.SplitType splitType;
|
||||
|
||||
final String? customerId;
|
||||
|
||||
@@ -243,11 +245,11 @@ class PaymentRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.PaymentSuccessPage]
|
||||
class PaymentSuccessRoute extends _i19.PageRouteInfo<PaymentSuccessRouteArgs> {
|
||||
class PaymentSuccessRoute extends _i20.PageRouteInfo<PaymentSuccessRouteArgs> {
|
||||
PaymentSuccessRoute({
|
||||
_i20.Key? key,
|
||||
_i21.Key? key,
|
||||
required String orderId,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PaymentSuccessRoute.name,
|
||||
args: PaymentSuccessRouteArgs(key: key, orderId: orderId),
|
||||
@@ -256,11 +258,11 @@ class PaymentSuccessRoute extends _i19.PageRouteInfo<PaymentSuccessRouteArgs> {
|
||||
|
||||
static const String name = 'PaymentSuccessRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PaymentSuccessRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
return _i20.WrappedRoute(
|
||||
child: _i8.PaymentSuccessPage(key: args.key, orderId: args.orderId),
|
||||
);
|
||||
},
|
||||
@@ -270,7 +272,7 @@ class PaymentSuccessRoute extends _i19.PageRouteInfo<PaymentSuccessRouteArgs> {
|
||||
class PaymentSuccessRouteArgs {
|
||||
const PaymentSuccessRouteArgs({this.key, required this.orderId});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final String orderId;
|
||||
|
||||
@@ -281,60 +283,103 @@ class PaymentSuccessRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.ReportPage]
|
||||
class ReportRoute extends _i19.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i9.PaymentSuccessSplitBillPage]
|
||||
class PaymentSuccessSplitBillRoute
|
||||
extends _i20.PageRouteInfo<PaymentSuccessSplitBillRouteArgs> {
|
||||
PaymentSuccessSplitBillRoute({
|
||||
_i21.Key? key,
|
||||
required String orderId,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PaymentSuccessSplitBillRoute.name,
|
||||
args: PaymentSuccessSplitBillRouteArgs(key: key, orderId: orderId),
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'PaymentSuccessSplitBillRoute';
|
||||
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PaymentSuccessSplitBillRouteArgs>();
|
||||
return _i20.WrappedRoute(
|
||||
child: _i9.PaymentSuccessSplitBillPage(
|
||||
key: args.key,
|
||||
orderId: args.orderId,
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class PaymentSuccessSplitBillRouteArgs {
|
||||
const PaymentSuccessSplitBillRouteArgs({this.key, required this.orderId});
|
||||
|
||||
final _i21.Key? key;
|
||||
|
||||
final String orderId;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentSuccessSplitBillRouteArgs{key: $key, orderId: $orderId}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.ReportPage]
|
||||
class ReportRoute extends _i20.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(ReportRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ReportRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.ReportPage();
|
||||
return const _i10.ReportPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.SettingPage]
|
||||
class SettingRoute extends _i19.PageRouteInfo<void> {
|
||||
const SettingRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i11.SettingPage]
|
||||
class SettingRoute extends _i20.PageRouteInfo<void> {
|
||||
const SettingRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(SettingRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SettingRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i10.SettingPage();
|
||||
return const _i11.SettingPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.SplashPage]
|
||||
class SplashRoute extends _i19.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i12.SplashPage]
|
||||
class SplashRoute extends _i20.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(SplashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i11.SplashPage();
|
||||
return const _i12.SplashPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.SplitBillPage]
|
||||
class SplitBillRoute extends _i19.PageRouteInfo<SplitBillRouteArgs> {
|
||||
/// [_i13.SplitBillPage]
|
||||
class SplitBillRoute extends _i20.PageRouteInfo<SplitBillRouteArgs> {
|
||||
SplitBillRoute({
|
||||
_i20.Key? key,
|
||||
required _i21.Order order,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
_i21.Key? key,
|
||||
required _i22.Order order,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
SplitBillRoute.name,
|
||||
args: SplitBillRouteArgs(key: key, order: order),
|
||||
@@ -343,12 +388,12 @@ class SplitBillRoute extends _i19.PageRouteInfo<SplitBillRouteArgs> {
|
||||
|
||||
static const String name = 'SplitBillRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<SplitBillRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
child: _i12.SplitBillPage(key: args.key, order: args.order),
|
||||
return _i20.WrappedRoute(
|
||||
child: _i13.SplitBillPage(key: args.key, order: args.order),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -357,9 +402,9 @@ class SplitBillRoute extends _i19.PageRouteInfo<SplitBillRouteArgs> {
|
||||
class SplitBillRouteArgs {
|
||||
const SplitBillRouteArgs({this.key, required this.order});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final _i21.Order order;
|
||||
final _i22.Order order;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -368,28 +413,28 @@ class SplitBillRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.SuccessAddItemOrderPage]
|
||||
class SuccessAddItemOrderRoute extends _i19.PageRouteInfo<void> {
|
||||
const SuccessAddItemOrderRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i14.SuccessAddItemOrderPage]
|
||||
class SuccessAddItemOrderRoute extends _i20.PageRouteInfo<void> {
|
||||
const SuccessAddItemOrderRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(SuccessAddItemOrderRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SuccessAddItemOrderRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i13.SuccessAddItemOrderPage();
|
||||
return const _i14.SuccessAddItemOrderPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i14.SuccessOrderPage]
|
||||
class SuccessOrderRoute extends _i19.PageRouteInfo<SuccessOrderRouteArgs> {
|
||||
/// [_i15.SuccessOrderPage]
|
||||
class SuccessOrderRoute extends _i20.PageRouteInfo<SuccessOrderRouteArgs> {
|
||||
SuccessOrderRoute({
|
||||
_i20.Key? key,
|
||||
required _i21.Order order,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
_i21.Key? key,
|
||||
required _i22.Order order,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
SuccessOrderRoute.name,
|
||||
args: SuccessOrderRouteArgs(key: key, order: order),
|
||||
@@ -398,12 +443,12 @@ class SuccessOrderRoute extends _i19.PageRouteInfo<SuccessOrderRouteArgs> {
|
||||
|
||||
static const String name = 'SuccessOrderRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<SuccessOrderRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
child: _i14.SuccessOrderPage(key: args.key, order: args.order),
|
||||
return _i20.WrappedRoute(
|
||||
child: _i15.SuccessOrderPage(key: args.key, order: args.order),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -412,9 +457,9 @@ class SuccessOrderRoute extends _i19.PageRouteInfo<SuccessOrderRouteArgs> {
|
||||
class SuccessOrderRouteArgs {
|
||||
const SuccessOrderRouteArgs({this.key, required this.order});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final _i21.Order order;
|
||||
final _i22.Order order;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -423,44 +468,44 @@ class SuccessOrderRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i15.SyncPage]
|
||||
class SyncRoute extends _i19.PageRouteInfo<void> {
|
||||
const SyncRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i16.SyncPage]
|
||||
class SyncRoute extends _i20.PageRouteInfo<void> {
|
||||
const SyncRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(SyncRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SyncRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i15.SyncPage());
|
||||
return _i20.WrappedRoute(child: const _i16.SyncPage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i16.TablePage]
|
||||
class TableRoute extends _i19.PageRouteInfo<void> {
|
||||
const TableRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i17.TablePage]
|
||||
class TableRoute extends _i20.PageRouteInfo<void> {
|
||||
const TableRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(TableRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TableRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return _i19.WrappedRoute(child: const _i16.TablePage());
|
||||
return _i20.WrappedRoute(child: const _i17.TablePage());
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i17.VoidPage]
|
||||
class VoidRoute extends _i19.PageRouteInfo<VoidRouteArgs> {
|
||||
/// [_i18.VoidPage]
|
||||
class VoidRoute extends _i20.PageRouteInfo<VoidRouteArgs> {
|
||||
VoidRoute({
|
||||
_i20.Key? key,
|
||||
required _i21.Order order,
|
||||
List<_i19.PageRouteInfo>? children,
|
||||
_i21.Key? key,
|
||||
required _i22.Order order,
|
||||
List<_i20.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
VoidRoute.name,
|
||||
args: VoidRouteArgs(key: key, order: order),
|
||||
@@ -469,12 +514,12 @@ class VoidRoute extends _i19.PageRouteInfo<VoidRouteArgs> {
|
||||
|
||||
static const String name = 'VoidRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<VoidRouteArgs>();
|
||||
return _i19.WrappedRoute(
|
||||
child: _i17.VoidPage(key: args.key, order: args.order),
|
||||
return _i20.WrappedRoute(
|
||||
child: _i18.VoidPage(key: args.key, order: args.order),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -483,9 +528,9 @@ class VoidRoute extends _i19.PageRouteInfo<VoidRouteArgs> {
|
||||
class VoidRouteArgs {
|
||||
const VoidRouteArgs({this.key, required this.order});
|
||||
|
||||
final _i20.Key? key;
|
||||
final _i21.Key? key;
|
||||
|
||||
final _i21.Order order;
|
||||
final _i22.Order order;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -494,17 +539,17 @@ class VoidRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i18.VoidSuccessPage]
|
||||
class VoidSuccessRoute extends _i19.PageRouteInfo<void> {
|
||||
const VoidSuccessRoute({List<_i19.PageRouteInfo>? children})
|
||||
/// [_i19.VoidSuccessPage]
|
||||
class VoidSuccessRoute extends _i20.PageRouteInfo<void> {
|
||||
const VoidSuccessRoute({List<_i20.PageRouteInfo>? children})
|
||||
: super(VoidSuccessRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'VoidSuccessRoute';
|
||||
|
||||
static _i19.PageInfo page = _i19.PageInfo(
|
||||
static _i20.PageInfo page = _i20.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i18.VoidSuccessPage();
|
||||
return const _i19.VoidSuccessPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user