isKeyboardShown static method

bool isKeyboardShown(
  1. BuildContext context
)

Implementation

static bool isKeyboardShown(BuildContext context) {
  return MediaQuery.of(context).viewInsets.bottom > 0;
}