Fix Flutter code quality issues
This commit is contained in:
		@@ -75,20 +75,20 @@ GoRouter router(Ref ref) {
 | 
				
			|||||||
    debugLogDiagnostics: true,
 | 
					    debugLogDiagnostics: true,
 | 
				
			||||||
    initialLocation: prefs.startOnScansListScreen() ? scansPage : capturePage,
 | 
					    initialLocation: prefs.startOnScansListScreen() ? scansPage : capturePage,
 | 
				
			||||||
    routes: [
 | 
					    routes: [
 | 
				
			||||||
      GoRoute(path: homePage, builder: (_, __) => const Scaffold()),
 | 
					      GoRoute(path: homePage, builder: (_, _) => const Scaffold()),
 | 
				
			||||||
      GoRoute(path: authPage, builder: (_, __) => const LoginScreen()),
 | 
					      GoRoute(path: authPage, builder: (_, _) => const LoginScreen()),
 | 
				
			||||||
      GoRoute(path: qrAuthPath, builder: (_, __) => const QrAuthScreen()),
 | 
					      GoRoute(path: qrAuthPath, builder: (_, _) => const QrAuthScreen()),
 | 
				
			||||||
      GoRoute(
 | 
					      GoRoute(
 | 
				
			||||||
        path: manualAuthPage,
 | 
					        path: manualAuthPage,
 | 
				
			||||||
        builder: (_, __) => const ManualAuthScreen(),
 | 
					        builder: (_, _) => const ManualAuthScreen(),
 | 
				
			||||||
      ),
 | 
					      ),
 | 
				
			||||||
      GoRoute(path: settingsPage, builder: (_, __) => const SettingsScreen()),
 | 
					      GoRoute(path: settingsPage, builder: (_, _) => const SettingsScreen()),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Configuration for the bottom navigation bar routes. The routes themselves
 | 
					      // Configuration for the bottom navigation bar routes. The routes themselves
 | 
				
			||||||
      // should be defined in [navigationItems]. Modification to this [ShellRoute]
 | 
					      // should be defined in [navigationItems]. Modification to this [ShellRoute]
 | 
				
			||||||
      // config is rarely needed.
 | 
					      // config is rarely needed.
 | 
				
			||||||
      ShellRoute(
 | 
					      ShellRoute(
 | 
				
			||||||
        builder: (_, __, child) => child,
 | 
					        builder: (_, _, child) => child,
 | 
				
			||||||
        routes: [
 | 
					        routes: [
 | 
				
			||||||
          for (final (index, item) in navigationItems.indexed)
 | 
					          for (final (index, item) in navigationItems.indexed)
 | 
				
			||||||
            GoRoute(
 | 
					            GoRoute(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user