supported property
Checks if touch events supported on the current platform.
Implementation
static bool get supported {
try {
return TouchEvent('touches') is TouchEvent;
} catch (_) {}
return false;
}
Checks if touch events supported on the current platform.
static bool get supported {
try {
return TouchEvent('touches') is TouchEvent;
} catch (_) {}
return false;
}