keyboard_insets_mobile
A Flutter plugin that provides real-time keyboard height and visibility state
0.1.2
2.8K downloads/mo
#4733 most downloaded on pub.dev
urbi-ae/keyboard_insets
What this package is like to depend on
Last release 9 months ago
19 Nov 2025
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 3 of 3 stable releases
Nothing withdrawn
no release was ever pulled
10 months old
3 releases · first in 2025
3 releases in the last 12 months
see the full history below
Release timeline
3 releases · Oct 2025 to Nov 2025Releases
latest 3-
0.1.219 Nov 2025Release notes
Open source →[iOS] - Use Swift concurrency @MainActor for public C entry points to avoid crashes on iOS 26
-
0.1.124 Oct 2025Release notes
Open source →[Android] - Fixed a bug with triggering the keyboard observer in JNI. [Android] - Fixed the safe area bottom padding exceeding the native Flutter padding.
-
0.1.023 Oct 2025Release notes
Open source →✨ Initial release of Native iOS + Android FFI implementations
Features
-
Real-time keyboard height updates
- Emits keyboard height on every animation frame.
- Stays perfectly in sync with native animations.
-
Keyboard state stream
- Provides visibility (
isVisible) and animation (isAnimating) status. - Automatically starts/stops native listeners when streams are active or paused.
- Provides visibility (
-
Persistent Safe Area API
- Added
PersistentSafeAreaBottomfor real-time bottom safe area tracking. - Stays stable during keyboard animations.
- Exposes:
ValueNotifier<double>? safeAreastartObserving()stopObserving()
- Added
-
PersistentSafeArea widget
- A drop-in alternative to Flutter’s
SafeAreathat keeps bottom padding stable while the keyboard animates. - Supports manual or automatic lifecycle handling via
handleObserver.
- A drop-in alternative to Flutter’s
-
Cross-platform support
- iOS: Uses native UIKit safe area and keyboard frame observers.
- Android: Uses
WindowInsetsAnimationCompatfor high-frequency keyboard insets. - Web: Fallback implementation using browser viewport APIs.
🧩 Packages
This release introduces a modular architecture:
Package Description keyboard_insetsMain plugin (public API + widget layer) keyboard_insets_mobileNative iOS + Android FFI implementations keyboard_insets_webWeb fallback implementation keyboard_insets_platform_interfaceShared platform interface -