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