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.
Constructors
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
- The center of the bottom edge.
- bottomLeft → const Alignment
- The bottom-left corner.
- bottomRight → const Alignment
- The bottom-right corner.
- center → const Alignment
- The exact center.
- centerLeft → const Alignment
- The center of the left edge.
- centerRight → const Alignment
- The center of the right edge.
- topCenter → const Alignment
- The center of the top edge.
- topLeft → const Alignment
- The top-left corner.
- topRight → const Alignment
- The top-right corner.