isKeyboardOpen property

bool get isKeyboardOpen

Checks if keyboard is open

Implementation

bool get isKeyboardOpen => FocusManager.instance.primaryFocus?.hasFocus ?? false || view.viewInsets.bottom > 0.0;