FLUTTER ECOSYSTEM

keyboard_dismisser

A simple Flutter package to hide the keyboard when performing a gesture outside of it.

keyboard_dismisser cover
Latest version
3.0.0
30-day downloads
18.2K
Likes
245
Pub points
160

Package Overview

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

Overview

A lightweight Flutter package that automatically dismisses the keyboard when the user taps outside of any text input field. It enhances user experience by providing a seamless way to close the keyboard without requiring a dedicated button or manual action. The package works across all major platforms, including mobile, web, and desktop, making it ideal for forms and input-heavy interfaces. It integrates easily with existing widgets and requires minimal setup.

Use cases
  • Form inputs with frequent keyboard toggling
  • Mobile and web apps needing intuitive keyboard dismissal
  • Desktop applications with text fields
  • Improving UX in chat or messaging interfaces
  • Reducing clutter by eliminating extra close buttons
Key features
  • Automatic keyboard dismissal on tap outside
  • Cross-platform compatibility
  • Minimal code integration
  • Supports all input types
  • No additional dependencies
Suitable for
  • Developers seeking simple keyboard management
  • Apps with multiple text fields
  • UX-focused application design
  • Projects targeting multiple platforms
Considerations
  • May interfere with other gesture detectors
  • Not suitable for complex gesture interactions
  • Requires careful placement in widget tree
  • Limited customization options
  • Does not handle keyboard visibility programmatically
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add keyboard_dismisser

Categories

Source repository

Related projects