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.

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.0

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';
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