updateKeyboardStatus method
Implementation
void updateKeyboardStatus(bool status, double keyboardHeight) {
isKeyboardOpened = status;
if (this.keyboardHeight == null || this.keyboardHeight! < keyboardHeight) {
this.keyboardHeight = keyboardHeight;
if (keyboardHeight != 0) menuSizes.height = keyboardHeight;
}
}