supportedDevices property

Set<PointerDeviceKind>? supportedDevices
getter/setter pair

The kind of devices that are allowed to be recognized as provided by supportedDevices in the constructor, or the currently deprecated kind. These cannot both be set. If both are null, events from all device kinds will be tracked and recognized.

Implementation

Set<PointerDeviceKind>? supportedDevices;