updateKeyboardStatus method
void
updateKeyboardStatus(
- ScreenHeight screenHeight
Implementation
void updateKeyboardStatus(ScreenHeight screenHeight) {
if (!GetInstance().isRegistered<KeyboardController>()) {
Get.put(KeyboardController());
}
Get.find<KeyboardController>().updateKeyboardStatus(
isOpen: screenHeight.isOpen, height: screenHeight.keyboardHeight);
WidgetsBinding.instance.addPostFrameCallback((_) {
Get.find<MenuStateController>().update();
});
}