bounds property

Rect bounds

Panel bounds

Implementation

Rect get bounds => _bounds;
void bounds=(Rect newBounds)

Update the panel bounds; automatically updates the contentBounds

Implementation

set bounds(Rect newBounds) {
  _bounds = newBounds;
  _contentBounds = _bounds.shrink(_padding);
}