isUiEvent property

bool get isUiEvent

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

Implementation

bool get isUiEvent => _hasProperty('detail') || _checkEventType(const ['scroll']);