UiOffset class

Screen-space offset from the anchor point.

Positive x = right, positive y = down (screen coordinates).

Constructors

UiOffset({double x = 0.0, double y = 0.0})
Creates a UI offset.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → double
Horizontal offset in logical pixels.
final
y → double
Vertical offset in logical pixels.
final

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