Alignment class
A position within a rectangle, expressed as offsets from center.
(-1, -1) is top-left, (0, 0) is center, (1, 1) is bottom-right. Follows Flutter's Alignment coordinate system.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- bottomCenter → const Alignment
- bottomLeft → const Alignment
- bottomRight → const Alignment
- center → const Alignment
- centerLeft → const Alignment
- centerRight → const Alignment
- topCenter → const Alignment
- topLeft → const Alignment
- topRight → const Alignment