Skip to main content
1

🚀 Pushes & Launches

Future<T?>
The preferred way to navigate. Pushes a new page and returns a Future that completes on pop.
Future<T?>
Replaces the current route with a new page. Ideal for post-login or checkout success screens.
Future<T?>
Pushes a route defined by its string name onto the stack.
2

â†Šī¸ Pops & Returns

void
Pops the current route off the stack. (Aliased to popScreen for consistency).
void
Pops the current route off the navigator stack (wrapper for Navigator.pop).
void
Pops all routes until the very first (root) screen is reached. Great for clearing the stack after a successful flow.