supported property

bool get supported

PointerEvent used for both touch and mouse. To check if touch is supported call the property TouchEvent.supported

Implementation

static bool get supported {
  try {
    return PointerEvent('pointerover') is PointerEvent;
  } catch (_) {}
  return false;
}