flutter_keyboard_visibility
Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.
7.0.1
1000K downloads/mo
#64 most downloaded on pub.dev
MisterJimson/flutter_keyboard_visibility
What this package is like to depend on
Last release today
24 Aug 2026
Ships unpredictably
gaps range from 8 days to 2.7 years
Nearly every release is documented
notes for 29 of 29 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
38 releases · first in 2019
2 releases in the last 12 months
see the full history below
Release timeline
38 releases · Sep 2019 to Aug 2026Releases
latest 38-
7.0.124 Aug 2026Release notes
Open source →- Fixed \IgnoreKeyboardDismiss\ so taps within its subtree keep a text field focused on desktop and for mouse input on mobile.
Release notes
Open source →- Fixed
IgnoreKeyboardDismissso taps within its subtree keep a text field focused on desktop and for mouse input on mobile.
-
7.0.024 Aug 2026Release notes
Open source →- Raised the minimum supported versions to Dart 3.11 and Flutter 3.41.
- Added Swift Package Manager support while retaining CocoaPods support.
- Updated Android to the current Flutter Gradle, SDK, and Java defaults.
- Improved Android 11 and later keyboard detection with
WindowInsets. - Updated all federated implementation dependencies.
Release notes
Open source →- Raised the minimum supported versions to Dart 3.11 and Flutter 3.41.
- Added Swift Package Manager support while retaining CocoaPods support.
- Updated Android to the current Flutter Gradle, SDK, and Java defaults.
- Improved Android 11 and later keyboard detection with
WindowInsets. - Updated all federated implementation dependencies.
-
6.0.021 Dec 2023Release notes
Open source →- 5.4.3 republished as a new major version. The Android Gradle changes were breaking for some users so 5.4.3 was unpublished. Using this version may require you to update your Android Gradle version.
-
6.0.0-beta19 Dec 2023 pre-releaseNothing published for this version
-
5.4.320 May 2023 withdrawnRelease notes
Open source →Thanks to fabricio-godoi for reporting this issue.
- Fixed compatibility with Gradle 7 Android projects (support for Gradle 8 remains in place)
-
5.4.211 May 2023 withdrawnRelease notes
Open source →Thanks to davidmartos96 for help with this release
- Add compatibility with AGP 8 (Android Gradle Plugin).
- Removed implicit-casts lint warning as it's no longer supported
-
5.4.124 Apr 2023 -
5.4.008 Oct 2022Release notes
Open source →Thanks to cbenhagen for this feature
- Add endorsed stubs for Linux, macOS, and Windows.
-
5.3.013 Jun 2022Release notes
Open source →- Updated testing docs and made minor changes to allow to easier testing. See readme for details.
-
5.2.015 Feb 2022Release notes
Open source →Thanks to Andrflor for help with this feature release
- Added
dismissOnCapturedTapsoption to KeyboardDismissOnTap - Added
IgnoreKeyboardDismissWidget
- Added
-
5.1.113 Jan 2022Release notes
Open source →Thanks to jpeiffer for this fix
- Updated Android tooling versions
- Replaced jcenter with mavenCentral
-
5.1.015 Oct 2021Release notes
Open source →- Removed Android v1 Embedding Support. If you created your Android project before Flutter 1.12 you may need to recreate or migrate. https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration
-
5.0.320 Jul 2021Release notes
Open source →- Updated documentation
- Reverted the change made in 4.0.4 that changed how keyboard visibility is done on Android
-
5.0.211 May 2021 -
5.0.116 Apr 2021Release notes
Open source →- Updated Android target/compile SDK versions to 30
- Updated Android gradle build tools to 3.6.4
- Updated AndroidX Core to 1.5.0-rc01
-
5.0.004 Mar 2021 -
5.0.0-nullsafety.326 Feb 2021 pre-releaseRelease notes
Open source →- Fixed onChange notifying the same value multiple times on Android
- Fixed bug introduced in 4.0.5 that would cause keyboard changes not to be notified
-
5.0.0-nullsafety.218 Feb 2021 pre-release -
5.0.0-nullsafety.101 Feb 2021 pre-releaseRelease notes
Open source →- Remove Android X import and annotations in Android code to reduce possibility of build errors
-
5.0.0-nullsafety.030 Nov 2020 pre-releaseRelease notes
Open source →- Migrated to null safety
- Removed deprecated KeyboardVisibility static access APIs
-
4.0.626 Feb 2021Release notes
Open source →- Fixed bug introduced in 4.0.5 that would cause keyboard changes not to be notified
-
4.0.526 Feb 2021 -
4.0.418 Feb 2021 -
4.0.4-beta.011 Feb 2021 pre-releaseNothing published for this version
-
4.0.301 Feb 2021Release notes
Open source →- Remove Android X import and annotations in Android code to reduce possibility of build errors
-
4.0.3-beta.014 Dec 2020 pre-releaseNothing published for this version
-
4.0.224 Nov 2020 -
4.0.123 Nov 2020 -
4.0.023 Nov 2020Release notes
Open source →- Federated the plugin to better support more platforms going forward
- Refactored internal implementation
- Deprecated KeyboardVisibility static access, will be removed in a future release
- Added KeyboardVisibilityController as a new way to access keyboard visibility
- KeyboardVisibilityBuilder & KeyboardVisibilityProvider now have
controllerparameters that allow you to pass a mock implementation of KeyboardVisibilityController for testing.
-
3.3.006 Nov 2020Release notes
Open source →Thanks to lukepighetti for this feature
- Added
KeyboardVisibilityBuilderto access keyboard visibility with the builder pattern
- Added
-
3.2.226 Aug 2020Release notes
Open source →- MissingPluginException if no longer thrown during
flutter testif you first callKeyboardVisibility.setVisibilityForTesting(value)in your test
- MissingPluginException if no longer thrown during
-
3.2.122 Jun 2020Release notes
Open source →Thanks to ram231 for this fix
- Fixed KeyboardDismissOnTap sometimes reopening the keyboard
-
3.2.019 Jun 2020Release notes
Open source →Thanks to matthew-carroll for this feature
- KeyboardDismissOnTap to allow for tapping outside of the focused field to dismiss the keyboard
-
3.1.017 Jun 2020Release notes
Open source →Thanks to matthew-carroll for these features and helping fix the bug
- KeyboardVisibilityProvider for InheritedWidget style access to keyboard visibility within the Widget tree
- Added setVisibilityForTesting to assist for testing with fake values
- Fixed visibility not being reporting on Android for apps with pre Flutter 1.12 Android projects
-
3.0.002 Jun 2020 -
2.0.017 Apr 2020 -
0.8.007 Apr 2020 -
0.7.019 Sep 2019Release notes
Open source →- Forked the project as original repo stopped being updated
- Fix: ViewTreeObserver is unregister when start second Activity because onStop call delay
- Fix: Activity() returns null when using backgrounding flutter plugins
- AndroidX migration
- Remove reachability dependency
The below changelog is from the original package