isUiEvent property

bool isUiEvent

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

Implementation

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