getBounds method
Gets the node's bounding rectangle.
Implementation
Rect getBounds() {
return Rect.fromLTWH(
position.value.dx,
position.value.dy,
size.value.width,
size.value.height,
);
}
Gets the node's bounding rectangle.
Rect getBounds() {
return Rect.fromLTWH(
position.value.dx,
position.value.dy,
size.value.width,
size.value.height,
);
}