SeafarerRoute class
Constructors
-
SeafarerRoute({required String name, required SeafarerRouteBuilder builder, BaseArguments? defaultArgs, List<
SeafarerTransition> ? defaultTransitions, Duration? defaultTransitionDuration, Curve? defaultTransitionCurve, List<SeafarerParam> ? params, CustomSeafarerTransition? customTransition, List<SeafarerRouteGuard> ? routeGuards}) -
const
Properties
- builder → SeafarerRouteBuilder
-
final
- customTransition → CustomSeafarerTransition?
-
Provide a custom transition to seafarer instead of using
inbuilt transitions, if not provided, seafarer 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<
SeafarerTransition> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
-
params
→ List<
SeafarerParam> ? -
final
-
routeGuards
→ List<
SeafarerRouteGuard> ? -
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.
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