bounds property

  1. @override
Rect? get bounds
override

Used to get the bounds of the render object when it is time to update clients about visibility.

A null value means bounds are not available.

Implementation

@override
Rect? get bounds => hasSize ? semanticBounds : null;