Issue I am a recent flutter developer. How can i get current route name?I am having a common list view in two different routes. I want to hide certain properties in list based on routes. Please help me.. Solution try
Continue readingTag: routes
Why Bottom Tab is still visible when I navigate to another screen?
Issue This is the signin page in the app and my app contains 2 more screens under bottom tab after signing in but when I try to logout and Navigate back to signin screen ,it does navigate but the bottom
Continue readingWhy Bottom Tab is still visible when I navigate to another screen?
Issue This is the signin page in the app and my app contains 2 more screens under bottom tab after signing in but when I try to logout and Navigate back to signin screen ,it does navigate but the bottom
Continue readingHow to pass in arguments in flutter when user input URL address (using auto_route)
Issue My app uses flutter with auto_router 0.6.9 package, and I want user to be able to type in a web address http://localhost/#/book/123 and be able to access book 123 and display book123, their name, and email if they are
Continue readingHow to Use Shell Route with GoRoute in same hierarchy Routes
Issue How to Use Shell Route with GoRoute in same hierarchy Routes How do I push from ShellRoute to GoRoute in the same hierarchy as ShellRoute using one of the NavBar buttons? Currently, the routes of GoRouter have two values:
Continue readingFlutter go_router parameters within ShellRoute not working
Issue I am using go_router and need have setup a ShellRoute. It is working fine so far. Now one of the routes inside that ShellRoute should have a route with params. And I can not make it work.. This is
Continue readingNo GoRouter found in context in widget tests
Issue I’m trying to mock go_router in my widget tests but keep getting this error: ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ The following assertion was thrown while handling a gesture: No GoRouter found in context ‘package:go_router/src/router.dart’: Failed assertion: line 300
Continue readingFlutter: go_router how to pass multiple parameters to other screen?
Issue In a vanilla flutter I use to pass multiple parameters to other screen like this: Navigator.of(context).push(MaterialPageRoute( builder: (_) => CatalogFilterPage( list: list, bloc: bloc, ))) Pretty simple and easy. I can pass 2 needed parameters, list and bloc. After
Continue readingwhat should I use to control the navigation of a user
Issue So I’m new to flutter and firebase and I was watching a tutorial about "auth" and the guy was using "Provider". I followed the tutorial, and the App work this way: Sign IN -> Sing Out-> Sign In (this
Continue readingGo_router current route queryParams
Issue Using go_router : GoRouter.of(context).location gives us the current route path such as /product/10110 but I’d like to know how to also get the current route queryParams in a similar fashion (outside of the GoRoute builder) Solution You can now
Continue reading