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