HeroHereFlightRedirect enum
What a flight does when the hero it flies to changes while it flies, such as when the switcher's child changes again mid-flight.
Values
- chain → const HeroHereFlightRedirect
-
Lands on the hero it flies to, then flies on to the new one. A flight sent back to the hero it left turns back from where it is, and takes as long as it flew.
- divert → const HeroHereFlightRedirect
-
Flies from where the shuttle is to the new hero, the hero it left too, over the flight's whole duration. The shuttle sets off at the speed it had, so it turns toward the new hero rather than stops, and swings around to a hero behind it rather than doubling back. Near the switcher's edge, it slides along the edge rather than out of the switcher. Its
fromHerobecomes a stand-in for the shuttle as it was, with the key, tag and payload of the hero the flight left, so a shuttle that fadesfromHerointotoHerofades from what it showed. - restart → const HeroHereFlightRedirect
-
Flies from where the shuttle is to the new hero, the hero it left too, over the flight's whole duration, as a flight from a hero there would: the shuttle sets off from rest rather than at the speed it had. Its
fromHerobecomes a stand-in for the shuttle as it was, as when a flight diverts.
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<
HeroHereFlightRedirect> - A constant List of the values in this enum, in order of their declaration.