measure method
Measure and return the size of this component.
This measurement is without the ComponentBuffer
, which is added by the
layout manager.
Implementation
@override
ViewMeasuredSizes measure(int maxWidth, int maxHeight) => isVertical
? _measureVerticalAxis(maxWidth, maxHeight)
: _measureHorizontalAxis(maxWidth, maxHeight);