Pivot class

Constructors

Pivot()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

isClosestAny(Offset offset) bool
isClosestHorizontal(Offset offset) bool
isClosestVertical(Offset offset) bool

Constants

bottomLeft → const Offset
Use this value to easily assign a bottom left corner pivot to your view or your bound.
bottomRight → const Offset
Use this value to easily assign a bottom right corner pivot to your view or your bound.
center → const Offset
Use this value to easily assign a center pivot to your view or your bound.
closestAny → const Offset
Use this value if you want your view to snap to the closest side (Left/Right/Left/Right).
closestHorizontal → const Offset
Use this value if you want your view to snap to the closest horizontal side (Left/Right).
closestVertical → const Offset
Use this value if you want your view to snap to the closest vertical side (Top/Bottom).
topLeft → const Offset
Use this value to easily assign a top left corner pivot to your view or your bound.
topRight → const Offset
Use this value to easily assign a top right corner pivot to your view or your bound.