FLUTTER ECOSYSTEM

flutter_keyboard_visibility

Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.

Latest version
6.0.0
30-day downloads
750.1K
Likes
1.1K
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin that detects the visibility state of the soft keyboard on Android, iOS, and other supported platforms. It provides real-time updates when the keyboard appears or disappears, enabling developers to adjust UI layouts dynamically. Ideal for forms, chat interfaces, and any app requiring responsive design based on keyboard presence. The plugin works across mobile and desktop platforms, ensuring consistent behavior. It integrates seamlessly with Flutter's state management systems.

Use cases
  • Dynamic form layout adjustment
  • Chat interface responsiveness
  • Auto-scrolling to focused fields
  • Responsive UI during keyboard input
  • Cross-platform keyboard detection
Key features
  • Real-time keyboard visibility events
  • Supports Android, iOS, Web, macOS, Windows, and Linux
  • Simple stream-based API
  • Works with all Flutter state management approaches
  • Lightweight and reliable
Suitable for
  • Apps with dynamic UI layouts
  • Form-heavy applications
  • Chat or messaging apps
  • Developers targeting multiple platforms
  • UI/UX optimization teams
Considerations
  • Requires handling stream subscriptions properly
  • May need additional logic for complex layouts
  • Not suitable for non-interactive UI elements
  • Limited to keyboard visibility, not input method switching
  • Best used with proper error handling in streams
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flutter_keyboard_visibility

Categories

Source repository

Related projects

Rankings