RouteTransitionPreset enum
A ready-made RouteTransition; sides given next to it override its own.
Values
-
Material shared axis X: both screens slide 30 px sideways, the old one fading out over the first 30% while the new one fades in.
-
Material shared axis Y: the same, vertically.
-
Material shared axis Z: the new screen grows in from 80% while the old one grows to 110% and fades.
- fadeThrough → const RouteTransitionPreset
-
Material fade through: the old screen fades out, then the new one fades in while it grows from 92%.
- iosPush → const RouteTransitionPreset
-
iOS push: the new screen slides in from the right over the old one, which moves a third of the way left. Swipe from the left edge to go back.
- iosModal → const RouteTransitionPreset
-
iOS modal sheet: the new screen slides up over the old one, which shrinks back a little. Drag down to dismiss.
- circularReveal → const RouteTransitionPreset
-
The new screen is revealed by a circle growing from the tapped node.
- zoom → const RouteTransitionPreset
-
The new screen zooms in from 85% while the old one zooms past and fades.
- coverVertical → const RouteTransitionPreset
-
The new screen slides up from the bottom and covers the old one.
- cube → const RouteTransitionPreset
-
The screens turn like two faces of a cube.
- flip → const RouteTransitionPreset
-
The old screen turns over and the new one is its back face.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
RouteTransitionPreset> - A constant List of the values in this enum, in order of their declaration.