RelativePositioning class

Provides relative positioning information for layout calculations.

RelativePositioning holds a ParentRect that defines the relationship between an element and its parent container's bounds. This is used when calculating position units that depend on parent layout information.

Constructors

RelativePositioning({required ParentRect relativeRect})
Creates a relative positioning context with the specified rectangle.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
relativeRect → ParentRect
The rectangle defining position relative to the parent container.
final
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