dismiss_keyboard_on_tap

Creator: coderz1093

Last updated:

0 purchases

dismiss_keyboard_on_tap Image
dismiss_keyboard_on_tap Images

Languages

Categories

Add to Cart

Description:

dismiss keyboard on tap

dismiss_keyboard_on_tap #
Dismisses Keyboard by tapping outside text field on the screen.
Demo #

Usage #
Simply wrap MaterialApp with this widget and it will dismiss the keyboard whenever tapped outside the Text Field on any Screens.
import 'package:dismiss_keyboard_on_tap/dismiss_keyboard_on_tap.dart';

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return DismissKeyboardOnTap(
child: MaterialApp(
home: ...,
),
);
}
}
copied to clipboard
You can also use it around separate widgets if you want more control.
That's all Enjoy.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.