79 lines
2.2 KiB
Dart
79 lines
2.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'go_router_builder.dart';
|
|
|
|
// **************************************************************************
|
|
// GoRouterGenerator
|
|
// **************************************************************************
|
|
|
|
List<RouteBase> get $appRoutes => [$splashRoute, $loginRoute, $notFoundRoute];
|
|
|
|
RouteBase get $splashRoute =>
|
|
GoRouteData.$route(path: '/SplashPage', factory: _$SplashRoute._fromState);
|
|
|
|
mixin _$SplashRoute on GoRouteData {
|
|
static SplashRoute _fromState(GoRouterState state) => const SplashRoute();
|
|
|
|
@override
|
|
String get location => GoRouteData.$location('/SplashPage');
|
|
|
|
@override
|
|
void go(BuildContext context) => context.go(location);
|
|
|
|
@override
|
|
Future<T?> push<T>(BuildContext context) => context.push<T>(location);
|
|
|
|
@override
|
|
void pushReplacement(BuildContext context) =>
|
|
context.pushReplacement(location);
|
|
|
|
@override
|
|
void replace(BuildContext context) => context.replace(location);
|
|
}
|
|
|
|
RouteBase get $loginRoute =>
|
|
GoRouteData.$route(path: '/LoginPage', factory: _$LoginRoute._fromState);
|
|
|
|
mixin _$LoginRoute on GoRouteData {
|
|
static LoginRoute _fromState(GoRouterState state) => const LoginRoute();
|
|
|
|
@override
|
|
String get location => GoRouteData.$location('/LoginPage');
|
|
|
|
@override
|
|
void go(BuildContext context) => context.go(location);
|
|
|
|
@override
|
|
Future<T?> push<T>(BuildContext context) => context.push<T>(location);
|
|
|
|
@override
|
|
void pushReplacement(BuildContext context) =>
|
|
context.pushReplacement(location);
|
|
|
|
@override
|
|
void replace(BuildContext context) => context.replace(location);
|
|
}
|
|
|
|
RouteBase get $notFoundRoute =>
|
|
GoRouteData.$route(path: '/not_found', factory: _$NotFoundRoute._fromState);
|
|
|
|
mixin _$NotFoundRoute on GoRouteData {
|
|
static NotFoundRoute _fromState(GoRouterState state) => const NotFoundRoute();
|
|
|
|
@override
|
|
String get location => GoRouteData.$location('/not_found');
|
|
|
|
@override
|
|
void go(BuildContext context) => context.go(location);
|
|
|
|
@override
|
|
Future<T?> push<T>(BuildContext context) => context.push<T>(location);
|
|
|
|
@override
|
|
void pushReplacement(BuildContext context) =>
|
|
context.pushReplacement(location);
|
|
|
|
@override
|
|
void replace(BuildContext context) => context.replace(location);
|
|
}
|