AppRouter class
GoRouter configuration for app navigation
This uses go_router for declarative routing, which provides:
- Type-safe navigation
- Deep linking support (web URLs, app links)
- Easy route parameters
- Navigation guards and redirects
To add a new route:
- Add a route constant to AppRoutes below
- Add a GoRoute to the routes list
- Navigate using context.go() or context.push()
- Use context.pop() to go back.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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 Properties
- router → GoRouter
-
final