supportedDevices property

Set<PointerDeviceKind>? supportedDevices
final

The set of pointer device types to recognize, e.g., touch, stylus. Example:

supportedDevices: {
  PointerDeviceKind.stylus,
}

If null, it accepts all pointer devices.

Implementation

final Set<PointerDeviceKind>? supportedDevices;