We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d55579 commit 9d19976Copy full SHA for 9d19976
lib/main.dart
@@ -1,14 +1,13 @@
1
import 'package:flutter/material.dart';
2
import 'package:flutter_bottom_navigation_with_nested_routing_tutorial/routes/router.gr.dart';
3
4
-void main() => runApp(const AppWidget());
+void main() => runApp(AppWidget());
5
6
class AppWidget extends StatelessWidget {
7
- const AppWidget({Key? key}) : super(key: key);
8
-
+ AppWidget({Key? key}) : super(key: key);
+ final _appRouter = AppRouter();
9
@override
10
Widget build(BuildContext context) {
11
- final _appRouter = AppRouter();
12
return MaterialApp.router(
13
debugShowCheckedModeBanner: false,
14
title: 'Bottom Nav Bar with Nested Routing',
0 commit comments