SailorRoute class

Constructors

SailorRoute({@required String name, @required SailorRouteBuilder builder, BaseArguments defaultArgs, List<SailorTransition> defaultTransitions, Duration defaultTransitionDuration, Curve defaultTransitionCurve, List<SailorParam> params, CustomSailorTransition customTransition, List<SailorRouteGuard> routeGuards})
const

Properties

builder SailorRouteBuilder
final
customTransition CustomSailorTransition
Provide a custom transition to sailor instead of using inbuilt transitions, if not provided, sailor will revert to use its default transitions or delegate to systems own transitions.
final
defaultArgs BaseArguments
final
defaultTransitionCurve Curve
final
defaultTransitionDuration Duration
final
defaultTransitions List<SailorTransition>
final
hashCode int
The hash code for this object.
read-onlyinherited
name String
final
params List<SailorParam>
final
routeGuards List<SailorRouteGuard>
Ran before opening the route itself. If every route guard returns true, the route is approvied and opened. Anything else will result in the route being rejected and not open.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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