hasOnKeyDownListener property

bool get hasOnKeyDownListener

Returns true if has any onKeyDown listener registered.

Implementation

bool get hasOnKeyDownListener => _onKeyDown != null;