AppRoutes class
Centralised route path constants for GoRouter.
Always reference these constants instead of using inline path strings so that renaming a route requires a single change in one place.
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
Constants
-
all
→ const List<
String> - Every registered route path, used by the redirect guard to distinguish a legitimately matched location from an unrecognised one.
- home → const String
- The main home screen shown to authenticated drivers.
- jailbreak → const String
- The terminal jailbreak-detected screen.
- login → const String
- The login screen.
- onboarding → const String
- The onboarding flow.
- splash → const String
- The splash screen shown during startup.