tap_to_dismiss_keyboard 0.0.4 copy "tap_to_dismiss_keyboard: ^0.0.4" to clipboard
tap_to_dismiss_keyboard: ^0.0.4 copied to clipboard

A tiny package to dismiss the keyboard on a touch on black space.

Tap To Dismiss Keyboard #

A tiny package to dismiss the keyboard on a touch on black space.

Problem and Solution #

iOS does not have a 'Close Keyboard' button.

We only two option for dissmissing keyboard:

  1. ✅ Allowing user to tap any blank space to dismiss to keyboard. 👉 That package does that.

    ✅ Common Solution

    ✅ Your iOS users already familiar with that behavious

    ✅ Whatsapp, Twitter etc. uses that behaviour.

  2. ❌ Putting a tiny button on the keyboard

    🤦‍♂️ Weird.

    🤦‍♂️ Not using much.

Install #

dependencies:
    tap_to_dismiss_keyboard: 

Usage #

@override
Widget build(BuildContext context) {
    return Scaffold(
        body: TapToDismissKeyboard( // Wrap 
            child: // your code...
        ),
    );
}

Demo #

Demo GIF

That is all :) #

2
likes
120
pub points
14%
popularity

Publisher

unverified uploader

A tiny package to dismiss the keyboard on a touch on black space.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on tap_to_dismiss_keyboard