Anchor class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- relativePosition → Offset
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
Position p, Position size) → Position
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- bottomCenter → const Anchor
-
Anchor(Offset(0.5, 1.0))
- bottomLeft → const Anchor
-
Anchor(Offset(0.0, 1.0))
- bottomRight → const Anchor
-
Anchor(Offset(1.0, 1.0))
- center → const Anchor
-
Anchor(Offset(0.5, 0.5))
- centerLeft → const Anchor
-
Anchor(Offset(0.0, 0.5))
- centerRight → const Anchor
-
Anchor(Offset(1.0, 0.5))
- topCenter → const Anchor
-
Anchor(Offset(0.5, 0.0))
- topLeft → const Anchor
-
Anchor(Offset(0.0, 0.0))
- topRight → const Anchor
-
Anchor(Offset(1.0, 0.0))