AppRoute class

Represents a specific route within the app.

These are a slightly more type-safe way to navigate between routes in the app. Consumers can navigate to a specific route via context.goRoute().

Inheritance

Constructors

AppRoute(String path)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
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

contactDetails AppRoute
getter/setter pair
credentialTermsScreen AppRoute
getter/setter pair
dashboard AppRoute
getter/setter pair
generatorAddition AppRoute
getter/setter pair
locationUsers AppRoute
getter/setter pair
notifications AppRoute
getter/setter pair
onboarding AppRoute
getter/setter pair
profile AppRoute
getter/setter pair
settings AppRoute
getter/setter pair
termsAndConditions AppRoute
getter/setter pair

Static Methods

details(int id) AppRoute
eventsLog(int id) AppRoute
maintenanceHistory(int id) AppRoute