ViewMeasuredSizes constructor
const
ViewMeasuredSizes({})
Create a new ViewSizes
.
preferredWidth the component's preferred width.
preferredHeight the component's preferred width.
minWidth
the component's minimum width. If not set, default to 0.
minHeight
the component's minimum height. If not set, default to 0.
Implementation
const ViewMeasuredSizes(
{required this.preferredWidth,
required this.preferredHeight,
int? minWidth,
int? minHeight})
: minWidth = minWidth ?? 0,
minHeight = minHeight ?? 0;