PointerEvent 用于触摸和鼠标。要检查触摸是否受支持,请调用属性 TouchEvent.supported
static bool get supported { try { return PointerEvent('pointerover') is PointerEvent; } catch (_) {} return false; }