SweepDirection enum
The direction in which a directional transition sweeps across the screen.
Applies to DiamondTransition, WipeTransition, and BarsTransition.
Ignored by the radial transitions (CircleTransition, ClockTransition,
PolygonTransition), which use their origin instead.
- Inheritance
- Available extensions
Values
- topLeftToBottomRight → const SweepDirection
-
Diagonal sweep starting at the top-left corner, ending bottom-right.
- bottomRightToTopLeft → const SweepDirection
-
Diagonal sweep starting at the bottom-right corner, ending top-left.
- leftToRight → const SweepDirection
-
Horizontal sweep from the left edge to the right edge.
- rightToLeft → const SweepDirection
-
Horizontal sweep from the right edge to the left edge.
- topToBottom → const SweepDirection
-
Vertical sweep from the top edge to the bottom edge.
- bottomToTop → const SweepDirection
-
Vertical sweep from the bottom edge to the top edge.
- topRightToBottomLeft → const SweepDirection
-
Diagonal sweep starting at the top-right corner, ending bottom-left.
- bottomLeftToTopRight → const SweepDirection
-
Diagonal sweep starting at the bottom-left corner, ending top-right.
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
- vector → (double, double)
-
Available on SweepDirection, provided by the SweepDirectionVector extension
The raw(dx, dy)vector for this direction. See the extension docs for the coordinate convention and normalization note.no setter
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<
SweepDirection> - A constant List of the values in this enum, in order of their declaration.