LayoutSize class

Represents a two-dimensional size with width and height.

This class is used throughout the layout system to represent the dimensions of elements and containers.

Constructors

LayoutSize.new(double width, double height)
Creates a size with the specified width and height.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
The height component of this size.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
The width component of this size.
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

Constants

zero → const LayoutSize
A size with zero width and height.