measure method

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

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) {
  // Native child classes should override this method to return real
  // measurements.
  return ViewMeasuredSizes(preferredWidth: 0, preferredHeight: 0);
}