Skip to content

kiyky/auto_hide_keyboard

 
 

Repository files navigation

auto_hide_keyboard

pub package

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.

About

Automatically hides the keyboard in Flutter when tapping outside the TextField.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 78.5%
  • HTML 14.7%
  • Swift 5.5%
  • Other 1.3%