Using Flutters Cupertino widgets, how do I trigger a horizontal page transition on top of bottom tab bars

Instead of a common horizontal page transition inside of one of the tabs or a common vertical page transition on top of the tab bar, how can I push in a page transitio...

Flutter Navigator pop / remove all except the latest

In my flutter apps, there is a <strong>main page</strong>, when user is back to that page (regardless from where) they are not suppose to tap (or swipe) back to the pr...

Flutter navigation removing in between routes

In my flutter app I want to <strong>remove in between routes</strong> so when the user press back it will go the previous to previous screen. following is my screen fl...

How to push a Route from inside the body of a scaffold with a bottomnavigationbar?

I have a MaterialApp in my main.dart within a Nav() Widget which contains a Scaffold with an appBar and a BottomNavigationBar. The NavigationBar has 4 BottomNavigation...

TabBar within Scaffold with my own controller doesnt work

I am using a Scaffold and within the Body I want to use the TabBar Widget, to switch between Info, Adress and Delivery. But with this code <pre><code>import 'packa...

When creating a button that goes to the next page, do I need to initialize it?

I am implementing an app using a plotter. We are developing to move to the next page by pressing a button created using InkWell. If you only have one button, no proble...

Which Riverpod Provider should one use to handle navigation state in combination with Navigator 2.0?

I'm developing a fairly complex cross-platform (Android / iOS / web) app in Flutter. I'm new to Flutter, coming to it from a background of native development for Andro...

Hash segment of URL is cleared on first page load in Flutter web

I'm using the hash URL strategy for a Flutter Web project. It's working fine, but now I want to be able to go straight to a specific page by specifying a path after th...

How to create an expandable list in Flutter navigation drawer that uses single app bar for different screens

I need to develop a navigation drawer in flutter and I'm new to flutter, I am using the following code, and this is creating the menu as expected but the problem is</p...

Receive Response from pop navigator in Flutter

Here is a simple example of code that navigator push for a form called. and pop for an answer. my goal is to make a pop of an object, not a string, but keeping it that...

Passing data between screens in Flutter

As I'm learning Flutter I've come to navigation. I want to pass data between screens similarly to <a href="https://stackoverflow.com/questions/2091465/how-do-i-pass-da...

How to set keys for Pages using ValueKey?

I am following this tutorial to add navigation to my app: <a href="https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade" rel="no...

Flutter Web Navigation - Change container content based on named Route

I have been searching for tutorial for Flutter Web with Navigation Menu (Side, bottom or top) and named routes. Basically, I want to have the Menu and the MenuContent...

Cannot install a MaterialPageRoute&lt;void&gt; after disposing it

<h2>The setup</h2> I have to simple routes, <code>FirstRoute</code> and <code>SecondRoute</code>. Each one contains a button to for the navigation. Pressing <code>Fir...

Error while navigating in flutter !_debuglocked: is not true

When I want to navigate inside a FutureBuilder on the second page the error <code>Failed assertion: line 3977 pos 12: '!_debugLocked': is not true.</code> is shown.</p...