Measurer constructor
const
Measurer({
- Key? key,
- OnMeasure? onMeasure,
- OnPaintBoundsChanged? onPaintBoundsChanged,
- OnConstraintsChanged? onConstraintsChanged,
- required Widget child,
Create a new measurer.
The given onMeasure callback is called after each new rendering of its child and provides its layout size.
The given onPaintBoundsChanged callback is called after each new rendering of its child and provides its paint bounds on the screen.
Implementation
const Measurer({
Key? key,
this.onMeasure,
this.onPaintBoundsChanged,
this.onConstraintsChanged,
required Widget child,
}) : super(key: key, child: child);