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(double width, double height)
-
Creates a size with the specified width and height.
const
Properties
Methods
-
copyWith(
{double? width, double? height}) → LayoutSize -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- zero → const LayoutSize
- A size with zero width and height.