DismissKeyboardOnTap constructor

DismissKeyboardOnTap({
  1. required Widget child,
})

Wrap this around a widget and this would dismiss keyboard when tapped anywhere on the screen outside the text field.

Implementation

DismissKeyboardOnTap({required this.child});