auto_route_library
auto_route_library copied to clipboard
Flutter route generator
Using push `ElevatedButton( onPressed: () { context.router.push(AboutRoute(id: 'id', gender: "Male"),); }, child: const Text("About"), ),` How can I pass thode params using pushNamed ` ElevatedButton( onPressed: () { context.router.pushNamed(RouteNames.aboutRoute); },...
Hi, I recently started trying to optimise my build_runner. Something tipped of intermittent failures. On CI, from clean state, most succeed, but some report this error: ``` [SEVERE] auto_route_generator on...
Hello, in our project we ran into an issue. **Plattform:** Web **What we want to achieve:** We want to wrap every single route with a SelectionArea to provide the ability...
Willpopscope not working in web. auto route:7.3.2 sample code: context.router.replaceAll([const MyHomeRoute()]); return WillPopScope( onWillPop: () async => false, child:Scafold(
How can we do a deep nested navigation? When I tried I got either an error trying to go to a route or the route replaced the other pages. Let's...
I have a simple router like this: ```dart import 'package:auto_route/auto_route.dart'; import 'package:flutter/material.dart' hide Route; import 'package:flutter_template_auto_route/screens/content_screen.dart'; import 'package:flutter_template_auto_route/screens/home_screen.dart'; ... AutoRoute( path: '/home', page: HomeRoute.page, initial: true, children: [ AutoRoute(path: 'content/:index',...
Hey, I just discovered this great library and it works great but I don't know how to implement this specific scenario working off the example code provided in the repo....
Hello, I am trying to achieve nested navigation in bottom navigation menu with nested Stack. I want separate navigation stack with respect to its Bottom Navigation Item. and want to...
Hi Milad, thanks for your awesome work. This issue and conversation follows from Issue https://github.com/Milad-Akarie/auto_route_library/issues/1207. As a reference, please see PR https://github.com/Milad-Akarie/auto_route_library/pull/1836 as I'll be referring to this refactored web_demo...
Proposed fix for https://github.com/Milad-Akarie/auto_route_library/issues/1839