getInputKeyboardHeight method

double getInputKeyboardHeight(
  1. BuildContext context
)

Implementation

double getInputKeyboardHeight(BuildContext context) {
  return _inputKeyboardHeight > 0
      ? _inputKeyboardHeight
      : MediaQuery.of(context).viewInsets.bottom;
}