active property
bool
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;
Returns whether the widget is currently active, meaning that only one pointer is interacting with the widget.
bool get active => activePointerIds.length <= 1;