onFocus method

bool onFocus()

Implementation

bool onFocus() =>
    _listeners.any((listener) => listener.onFocus?.call() ?? false);