bounds property
      
      set
      bounds
      (Rect newBounds) 
      
    
    
Update the panel bounds; automatically updates the contentBounds
Implementation
set bounds(Rect newBounds) {
  _bounds = newBounds;
  _contentBounds = _bounds.shrink(_padding);
}