RootNavRouter class

Constructors

RootNavRouter([GoRouter createRouter()?])
factory

Properties

goRouter → GoRouter
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

goToNamed(String name, {GlobalKey<NavigatorState>? navigatorKey, Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}}) → void
Helper function to navigate to a named route
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

goNamed(String name, {GlobalKey<NavigatorState>? navigatorKey, Map<String, String> pathParameters = const <String, String>{}, Map<String, dynamic> queryParameters = const <String, dynamic>{}}) → dynamic
Helper function to navigate to a named route