Direction enum

Inheritance

Constructors

Direction()
const

Values

left → const Direction
up → const Direction
down → const Direction
upLeft → const Direction
upRight → const Direction
downLeft → const Direction
downRight → const Direction

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isDownSide bool
no setter
isHorizontal bool
no setter
isLeftSide bool
no setter
isRightSide bool
no setter
isUpSide bool
no setter
isVertical bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSameXDirection(double x) bool
isSameYDirection(double y) bool
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<Direction>
A constant List of the values in this enum, in order of their declaration.