ViewMeasuredSizes class
Size measurements of one component.
The measurement is tight to the component, without adding ComponentBuffer
.
Constructors
- ViewMeasuredSizes({required int preferredWidth, required int preferredHeight, int? minWidth, int? minHeight})
-
Create a new
ViewSizes
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minHeight → int
-
final
- minWidth → int
-
final
- preferredHeight → int
-
final
- preferredWidth → int
-
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
Constants
- zero → const ViewMeasuredSizes
- All zeroes component size.