Anchor class

Constructors

Anchor(Offset relativePosition)
const

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
const Anchor(const Offset(0.5, 1.0))
bottomLeft → const Anchor
const Anchor(const Offset(0.0, 1.0))
bottomRight → const Anchor
const Anchor(const Offset(1.0, 1.0))
center → const Anchor
const Anchor(const Offset(0.5, 0.5))
centerLeft → const Anchor
const Anchor(const Offset(0.0, 0.5))
centerRight → const Anchor
const Anchor(const Offset(1.0, 0.5))
topCenter → const Anchor
const Anchor(const Offset(0.5, 0.0))
topLeft → const Anchor
const Anchor(const Offset(0.0, 0.0))
topRight → const Anchor
const Anchor(const Offset(1.0, 0.0))