active property

bool get active

Returns whether the widget is currently active, meaning that only one pointer is interacting with the widget.

Implementation

bool get active => activePointerIds.length <= 1;