HeroFlies enum
When a hero flies.
Values
- betweenScreens → const HeroFlies
-
While a navigation plays, from its place on the screen that goes to its place on the screen that comes, when both have the tag (Flutter's
Hero). - inPlace → const HeroFlies
-
When it appears, from where the node with its tag was a moment ago (a node hidden or removed in the last two seconds, a dropped drag copy, a node on a screen that is closing): a picked emoji flying from its picker to its chip. Flutter's
Herohas no such trigger (thelocal_heropackage'sLocalHerois the nearest). Heroes that fly in place find each other only. - lift → const HeroFlies
-
Lifted out of another node's place: when it comes on screen while another node with its tag is shown (on the same screen, on a screen or an overlay under it), it flies from that node's place to its own, drawn above everything (an overlay's backdrop too), and the node it left keeps its place hidden (a gap) while it is shown. When it goes (its overlay closes, it is removed, its tag changes) it flies back to that node, which shows again as it lands. Both ends are followed while it flies (a list that scrolls); a place that is gone is flown to where it was last seen, fading. Timed by HeroTag.flight's
durationandcurve(the way back plays the curve backward), else 300 ms; with reduced motion it does not fly. A long-pressed bubble to its menu, a photo to its viewer, a row to a sheet. Lifted heroes find each other only.
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