rootBounds property
Rect
get
rootBounds
The root bounds of the drawable.
Implementation
Rect get rootBounds {
assert(_root != null, 'Cannot get rootBounds with null root');
assert(_root!.viewport != null); // ignore: unnecessary_null_comparison
return _root!.viewport.viewBoxRect;
}