OnMeasure typedef

OnMeasure = void Function(Size size, BoxConstraints? constraints)

When a size or its associated constraints changed.

Implementation

typedef OnMeasure = void Function(
  Size size,
  BoxConstraints? constraints,
);