keyboardHeight property

double get keyboardHeight

The keyboard height (dynamic height under current orientation). This value may be 0 when the keyboard height has never been recorded under the current orientation.

Implementation

double get keyboardHeight => _state?.currentNativeKeyboardHeight ?? 0;