You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
992 B
33 lines
992 B
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'routes.dart'; |
|
|
|
// ************************************************************************** |
|
// GoRouterGenerator |
|
// ************************************************************************** |
|
|
|
List<RouteBase> get $appRoutes => [ |
|
$notesClientRoute, |
|
]; |
|
|
|
RouteBase get $notesClientRoute => GoRouteData.$route( |
|
path: '/apps/notes', |
|
name: 'notes', |
|
factory: $NotesClientRouteExtension._fromState, |
|
); |
|
|
|
extension $NotesClientRouteExtension on NotesClientRoute { |
|
static NotesClientRoute _fromState(GoRouterState state) => const NotesClientRoute(); |
|
|
|
String get location => GoRouteData.$location( |
|
'/apps/notes', |
|
); |
|
|
|
void go(BuildContext context) => context.go(location); |
|
|
|
Future<T?> push<T>(BuildContext context) => context.push<T>(location); |
|
|
|
void pushReplacement(BuildContext context) => context.pushReplacement(location); |
|
|
|
void replace(BuildContext context) => context.replace(location); |
|
}
|
|
|