mathKeyboardShowingIn static method

bool mathKeyboardShowingIn(
  1. BuildContext context

Returns whether any math keyboard is showing in the given context by depending on a MathKeyboardViewInsetsQuery.

See keyboardShowingIn for a convenience method that also reports about the regular software keyboard on iOS and Android.


static bool mathKeyboardShowingIn(BuildContext context) {
  return of(context).bottomInset > 0;