Issue In my flutter apps, there is a main page, when user is back to that page (regardless from where) they are not suppose to tap (or swipe) back to the previous page. Currently we are using Navigator.pushAndRemoveUntil. But there
Continue readingTag: flutter-navigation
error: The argument type 'Null' can't be assigned to the parameter type 'Map<String, dynamic>'
Issue I am writing my first Flutter App with some online tutorials and I found error that I can’t fix it. I am trying to add Navigation by Navigator, but I can’t understand why it doesn’t work. Once I am
Continue readingNavigating from a TabBarView Child to another Route (full screen)
Issue I have a TabBarView containg 4 tabs. They all have a button that can be used to navigate to another Route, but the navigation is done in the tabs itself i.e. The tabbed Appbar still exists, how to navigate
Continue readingFlutter's Navigation 2.0 doesn't update the UI
Issue I’m trying to understand how to use Flutter’s declarative navigation system. I want to create a simple app that will add / remove routes to the stack infinitely. Like, "Screen N" has two buttons: first pops it from the
Continue readingHow to remove default navigation route animation
Issue I am below code which given in flutter documentation for page routing // Within the `FirstRoute` widget onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => SecondRoute()), ); } But it provides some animation while pushing and poping route. For
Continue readingFlutter – navigate back to specific tab on a page with Navigator.pop(context)
Issue In my app, I have a homepage that has 5 tabs on the bottom. On each tabbed page, there is an app bar that has a ‘+’ symbol as an action, which navigates you to a different page. The
Continue readingHow can i do Navigator.push in a modal bottom sheet only (not the parent page)
Issue In my app, i am trying to create a comments section. In this section, i want a user to be able to reply to another user’s comment in a fashion akin to the YouTube app. I have managed to
Continue readingIn flutter with riverpod, how to update state on a page already in the navigation stack
Issue I have some flutter/riverpod/navigator 2.0 pages that follow this flow. list of items page -> navigate to -> edit item page -> back button -> list of items page. the issue is when one hits the back button, the
Continue readingIn a Nested Navigator Structure of Flutter, How do you get the a Specific Navigator?
Issue I have this problem when I have Nested Navigators. So something like, class App extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: ‘Flutter Demo’, theme: ThemeData( primarySwatch: Colors.blue, ), initialRoute: “/”, routes: { ‘/’: (context) =>
Continue readinghow do I know if a page is pushed or not in navigation stack?
Issue let say I have 2 pages, PageA and PageB. if a user tap a button in PageA then it will move to PageB using the code below Navigator.of(context).pushNamed("pageB"); so as a result, there is back button in the top
Continue reading