auto_hide_keyboard 1.0.0 copy "auto_hide_keyboard: ^1.0.0" to clipboard
auto_hide_keyboard: ^1.0.0 copied to clipboard

Automatically hides the keyboard when tapping outside the TextField.

auto_hide_keyboard #

Automatically hides the keyboard when tapping outside the TextField.

🔥 Preview #

✨ Highlights #

  • 🔮 Magic: Simultaneously responds to click events of other widgets on the same page and automatically hides the keyboard.
  • 🔢 Supports multiple TextFields on a single page without interference.
  • 📋 Does not affect the original selection, copy, and paste functionality of TextFields.

Try it online: https://flutter-auto-hide-keyboard.vercel.app

⚡️ Get started #

Simply wrap your TextField with the AutoHideKeyboard.

AutoHideKeyboard(
  child: TextField(), // Your TextField widget
)

That's it!

Inspired by Tooltip.

4
likes
150
pub points
71%
popularity

Publisher

verified publisherxbox.work

Automatically hides the keyboard when tapping outside the TextField.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, visibility_detector

More

Packages that depend on auto_hide_keyboard