check phone impl

This commit is contained in:
efrilm
2025-09-18 08:01:49 +07:00
parent 214dfe3262
commit 1ca1a45126
15 changed files with 275 additions and 80 deletions
+26 -5
View File
@@ -255,7 +255,7 @@ class LoginRoute extends _i33.PageRouteInfo<void> {
static _i33.PageInfo page = _i33.PageInfo(
name,
builder: (data) {
return const _i12.LoginPage();
return _i33.WrappedRoute(child: const _i12.LoginPage());
},
);
}
@@ -432,20 +432,41 @@ class OtpRoute extends _i33.PageRouteInfo<void> {
/// generated route for
/// [_i21.PasswordPage]
class PasswordRoute extends _i33.PageRouteInfo<void> {
const PasswordRoute({List<_i33.PageRouteInfo>? children})
: super(PasswordRoute.name, initialChildren: children);
class PasswordRoute extends _i33.PageRouteInfo<PasswordRouteArgs> {
PasswordRoute({
_i34.Key? key,
required String phoneNumber,
List<_i33.PageRouteInfo>? children,
}) : super(
PasswordRoute.name,
args: PasswordRouteArgs(key: key, phoneNumber: phoneNumber),
initialChildren: children,
);
static const String name = 'PasswordRoute';
static _i33.PageInfo page = _i33.PageInfo(
name,
builder: (data) {
return const _i21.PasswordPage();
final args = data.argsAs<PasswordRouteArgs>();
return _i21.PasswordPage(key: args.key, phoneNumber: args.phoneNumber);
},
);
}
class PasswordRouteArgs {
const PasswordRouteArgs({this.key, required this.phoneNumber});
final _i34.Key? key;
final String phoneNumber;
@override
String toString() {
return 'PasswordRouteArgs{key: $key, phoneNumber: $phoneNumber}';
}
}
/// generated route for
/// [_i22.PaymentPage]
class PaymentRoute extends _i33.PageRouteInfo<void> {