This PR introduces the WoltKeyboardClosureListenerMixin mixin and removes the FlutterKeyboardVisibility package dependency. The purpose of this mixin is to track the visibility of the soft keyboard by monitoring the changes in the system's view insets and using the WidgetsBindingObserver.
Utilizes the WidgetsBindingObserver to listen to changes in UI metrics, specifically to detect keyboard appearance and disappearance.
Updates a ValueNotifier with a new event ID whenever the keyboard closes. This is important for widgets that need to adjust their layout or perform specific actions when the keyboard is hidden. For example, re-painting the top bar and top bar title.
Android
iOS
Related Issues
210
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
Description
This PR introduces the
WoltKeyboardClosureListenerMixin
mixin and removes the FlutterKeyboardVisibility package dependency. The purpose of this mixin is to track the visibility of the soft keyboard by monitoring the changes in the system's view insets and using the WidgetsBindingObserver.Related Issues
210
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?