keyboard_visibility_pro
1.0.0, released 2 years ago by an unverified publisher
Detects soft-keyboard open and close status in Flutter applications.
What it does
Detects whether the software keyboard is open or closed and provides a callback when its visibility changes. It wraps a child widget to expose keyboard status updates.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to run callbacks when the software keyboard opens or closes
- You want to react to keyboard visibility changes within a specific widget subtree
Skip it when
- You need complex form management or advanced layout resizing handled automatically
- You require granular height measurements of the software keyboard rather than just a boolean state
Strengths
- Simple widget-based API
- Provides a straightforward boolean callback for keyboard visibility
Weaknesses
- Provides only basic open and close status without exact keyboard height metrics
- Lacks extensive documentation or advanced configuration options
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Not documented
KeyboardVisibility(
onChanged: (bool isKeyboardVisible) {
print(isKeyboardVisible);
},
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const <Widget>[TextField()],
),
),
)Alternatives
Packages that do the same job and could replace keyboard_visibility_pro.
- flutter_keyboard_visibility_temp_fork
Detects whether the on-screen keyboard is visible on Android and iOS.
78Compare - keyboard_service
Keyboard visibility tracking and automatic dismissal without native plugins
59Compare - keyboard_detection
Detect keyboard visibility using bottom view inset in Flutter
56Compare - keyboard_insets
Provides real‑time keyboard height and visibility streams for Flutter apps.
48Compare