FLUTTER ECOSYSTEM

keyboard_service

Keyboard visibility / (auto-) dismiss package without the need of native plugin

Latest version
2.0.4
30-day downloads
1.3K
Likes
43
Pub points
160

Package Overview

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

Overview

A Flutter package that manages keyboard visibility and automatic dismissal across multiple platforms without requiring native plugins. It provides a simple, cross-platform solution to detect when the keyboard is open or closed and allows developers to programmatically hide it. Ideal for improving user experience in forms and input-heavy interfaces by ensuring smooth keyboard interactions. The package works seamlessly on Android, iOS, Web, macOS, Windows, and Linux, making it a versatile choice for modern Flutter applications.

Use cases
  • Form input handling
  • Auto-dismissing keyboard on focus change
  • Improving UX in chat apps
  • Handling keyboard overlap in UI
  • Responsive layout adjustments
  • Dynamic form field management
Key features
  • Cross-platform compatibility
  • No native plugin required
  • Keyboard state detection
  • Programmatic keyboard dismissal
  • Lightweight and easy to integrate
  • Supports all major desktop and mobile platforms
Suitable for
  • Developers building multi-platform apps
  • Apps with complex input forms
  • Chat or messaging interfaces
  • UIs requiring responsive keyboard handling
  • Teams avoiding platform-specific code
Considerations
  • May not support all edge cases on web
  • Limited customization for keyboard behavior
  • Depends on Flutter's built-in keyboard APIs
  • Not suitable for advanced keyboard customization
  • Requires careful handling in nested scroll views
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add keyboard_service

Categories

Source repository

Related projects

No data available yet.