isWheelEvent property

bool isWheelEvent

Uses Duck Typing to detect if the event instance is a SyntheticWheelEvent.

Implementation

bool get isWheelEvent => _hasProperty('deltaX') || _checkEventType(const ['wheel']);