viewportScreenBounds property
Rect
get
viewportScreenBounds
Gets the viewport extent as a Rect in screen coordinates.
This represents the screen area that displays the graph. Typically this is the full size of the canvas/widget.
Returns a Rect representing the screen bounds of the viewport.
Implementation
Rect get viewportScreenBounds {
final size = _screenSize.value;
return Rect.fromLTWH(0, 0, size.width, size.height);
}