LayoutOffset class
Represents a two-dimensional offset with x and y coordinates.
Used for positioning elements within the layout coordinate system.
Constructors
- LayoutOffset.new(double dx, double dy)
-
Creates an offset with the specified coordinates.
const
Properties
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 &(
LayoutSize size) → LayoutRect - Creates a rectangle by combining this offset with a size.
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- zero → const LayoutOffset
- An offset with zero x and y coordinates.