measurer

Last updated:

0 purchases

measurer Image
measurer Images
Add to Cart

Description:

measurer

measurer #






A widget that measure the size of its child.
Quickstart #
@override
Widget build(BuildContext context) {
return Measurer(
onMeasure: (size,constraints) {
print('Child new size: $size');
},
child: Child(),
);
}
copied to clipboard
Usage #
onMeasure #
A callback to that is called each time the layout size of the child changes.
onPaintBoundsChanged #
A callback to that is called each time the painting bound size (an absolute rectangle that contains all the pixels painted by the child) of the child changes.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.