bounds property

Rect get bounds

Panel bounds

Implementation

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

Update the panel bounds; automatically updates the contentBounds

Implementation

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