isKeyboardOpen property

bool get isKeyboardOpen

True while the on-screen keyboard is up.

Implementation

bool get isKeyboardOpen => MediaQuery.viewInsetsOf(this).bottom > 0;