Anchor enum

Inheritance
Available extensions

Values

center → const Anchor
const Anchor("center", value: (0.5, 0.5))
left → const Anchor
const Anchor("left", value: (1, 0.5))
const Anchor("right", value: (0, 0.5))
top → const Anchor
const Anchor("top", value: (0.5, 1))
bottom → const Anchor
const Anchor("bottom", value: (0.5, 0))
topLeft → const Anchor
const Anchor("top-left", value: (1, 1))
topRight → const Anchor
const Anchor("top-right", value: (0, 1))
bottomLeft → const Anchor
const Anchor("bottom-left", value: (1, 0))
bottomRight → const Anchor
const Anchor("bottom-right", value: (0, 0))

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → (double, double)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<Anchor>
A constant List of the values in this enum, in order of their declaration.