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

Automatically hides the keyboard when tapping outside the TextField.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_hide_keyboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  auto_hide_keyboard: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:auto_hide_keyboard/auto_hide_keyboard.dart';
5
likes
160
points
71
downloads

Publisher

verified publisherxbox.work

Weekly Downloads

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