RouteType class abstract
An abstraction of route types used by AutoRoutePage.onCreateRoute to decide transition animations
Constructors
- RouteType.adaptive({bool opaque})
-
Builds a AdaptiveRouteType route type
constfactory
- RouteType.cupertino()
-
Builds a CupertinoRouteType route type
constfactory
- RouteType.custom({RouteTransitionsBuilder? transitionsBuilder, CustomRouteBuilder? customRouteBuilder, int? durationInMilliseconds, int? reverseDurationInMilliseconds, bool opaque, bool barrierDismissible, String? barrierLabel, Color? barrierColor})
-
Builds a CustomRouteType route type
constfactory
- RouteType.material()
-
Builds a MaterialRouteType route type
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- opaque → bool
-
Whether the target Route should be opaque
see ModalRoute.opaque
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.
override