RouteType class abstract

An abstraction of route types used by AutoRoutePage.onCreateRoute to decide transition animations

Implementers

Constructors

RouteType.adaptive({bool opaque})
Builds a AdaptiveRouteType route type
const
factory
RouteType.cupertino()
Builds a CupertinoRouteType route type
const
factory
RouteType.custom({RouteTransitionsBuilder? transitionsBuilder, CustomRouteBuilder? customRouteBuilder, int? durationInMilliseconds, int? reverseDurationInMilliseconds, bool opaque, bool barrierDismissible, String? barrierLabel, Color? barrierColor})
Builds a CustomRouteType route type
const
factory
RouteType.material()
Builds a MaterialRouteType route type
const
factory

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