mouseIsConnected property

bool get mouseIsConnected

Whether or not at least one mouse is connected and has produced events.

Implementation

bool get mouseIsConnected => _mouseStates.isNotEmpty;