Skip to content
pubscout

keyboard_visibility_pro

1.0.0, released 2 years ago by an unverified publisher

Detects soft-keyboard open and close status in Flutter applications.

WASM-ready
$ flutter pub add keyboard_visibility_pro
Source repository

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.