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