SplashRoute class

Represents a named route destination returned by the splash onInit callback.

Use the static factory constructors to create route destinations for common navigation targets.

Constructors

SplashRoute(String route, {Object? arguments})
Creates a SplashRoute with the given route and optional arguments.
const
SplashRoute.custom(String path, {Object? arguments})
Creates a route pointing to a custom named path.
factory
SplashRoute.home({Object? arguments})
Creates a route pointing to the home screen.
factory
SplashRoute.login({Object? arguments})
Creates a route pointing to the login screen.
factory
SplashRoute.onboarding({Object? arguments})
Creates a route pointing to the onboarding screen.
factory

Properties

arguments → Object?
Optional arguments to pass to the destination route.
final
hashCode → int
The hash code for this object.
no setterinherited
route → String
The named route string (e.g. '/home', '/login').
final
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.
override

Operators

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