measure method

  1. @override
ViewMeasuredSizes measure(
  1. int maxWidth,
  2. int maxHeight
)

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);