You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is my Material.router
return MaterialApp.router(
title: 'Libra',
debugShowCheckedModeBanner: false,
themeMode: ThemeMode.light,
routerConfig: appRouter.config(),
);
Here is my splash page
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
@RoutePage()
class SplashPage extends StatefulWidget {
const SplashPage({super.key});
@OverRide
State createState() => _SplashPageState();
}
@AutoRouterConfig()
class AppRouter extends $AppRouter {
@OverRide
List get routes => [
AutoRoute(page: SplashRoute.page, initial: true),
AutoRoute(
page: WrapperRoute.page,
path: '/start',
children: [
AutoRoute(page: HomeRoute.page, path: 'home'),
}
Here is my Material.router
return MaterialApp.router(
title: 'Libra',
debugShowCheckedModeBanner: false,
themeMode: ThemeMode.light,
routerConfig: appRouter.config(),
);
Here is my splash page
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
@RoutePage()
class SplashPage extends StatefulWidget {
const SplashPage({super.key});
@OverRide
State createState() => _SplashPageState();
}
class _SplashPageState extends State {
@OverRide
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: const Center(
child: Text('Splash Page'),
),
);
}
}
The text was updated successfully, but these errors were encountered: