is keyboard open method
is keyboard open
bool isKeyboardOpen() { return MediaQuery.viewInsetsOf(context).bottom > 0; }