bool supported

Checks if touch events supported on the current platform.

Note that touch events are only supported if the user is using a touch device.

Source

static bool get supported => Device.isEventTypeSupported('TouchEvent');