52 lines
1.4 KiB
Dart
52 lines
1.4 KiB
Dart
// **************************************************************************
|
|
// AutoRouteGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
// **************************************************************************
|
|
// AutoRouteGenerator
|
|
// **************************************************************************
|
|
//
|
|
// ignore_for_file: type=lint
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'package:auto_route/auto_route.dart' as _i2;
|
|
import 'package:flutter/material.dart' as _i3;
|
|
import 'package:landing_menu/landing_menu.dart' as _i1;
|
|
|
|
class AppRouter extends _i2.RootStackRouter {
|
|
AppRouter([_i3.GlobalKey<_i3.NavigatorState>? navigatorKey])
|
|
: super(navigatorKey);
|
|
|
|
@override
|
|
final Map<String, _i2.PageFactory> pagesMap = {
|
|
LandingRoute.name: (routeData) {
|
|
return _i2.MaterialPageX<dynamic>(
|
|
routeData: routeData,
|
|
child: const _i1.LandingPage(),
|
|
);
|
|
}
|
|
};
|
|
|
|
@override
|
|
List<_i2.RouteConfig> get routes => [
|
|
_i2.RouteConfig(
|
|
LandingRoute.name,
|
|
path: '/',
|
|
)
|
|
];
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i1.LandingPage]
|
|
class LandingRoute extends _i2.PageRouteInfo<void> {
|
|
const LandingRoute()
|
|
: super(
|
|
LandingRoute.name,
|
|
path: '/',
|
|
);
|
|
|
|
static const String name = 'LandingRoute';
|
|
}
|