onLayout method
Implementation
@override
void onLayout(double left, double top, double right, double bottom) {
for (var element in children) {
element.layout(element.translationX, element.translationY, element.width, element.height);
}
}
@override
void onLayout(double left, double top, double right, double bottom) {
for (var element in children) {
element.layout(element.translationX, element.translationY, element.width, element.height);
}
}