selectionRectangle property

Rect? get selectionRectangle

Gets the current selection rectangle being drawn (package-private).

Returns null if no selection rectangle is active.

Implementation

Rect? get selectionRectangle => interaction.selectionRectangle.value;