getViewportBounds property

Rect Function()? getViewportBounds
final

Returns the current viewport bounds in screen coordinates.

Used to determine when the pointer is within the edge padding zone. Required when autoPan is provided.

Implementation

final Rect Function()? getViewportBounds;