isTouch property

bool get isTouch

Whether this is a touch event.

Implementation

bool get isTouch => kind == PointerDeviceKind.touch;