void updateKeyboardStatus({required bool isOpen, required double height}) { if (height > maxHeight) { maxHeight = height; } this.height = height; this.isOpen = isOpen; update(); }