DismissKeyboard constructor
const
DismissKeyboard({
- Key? key,
- Widget? child,
- HitTestBehavior behavior = HitTestBehavior.opaque,
Tapping on a Widget will apply the FocusScope to it and hide the keyboard.
Implementation
const DismissKeyboard({
Key? key,
this.child,
this.behavior = HitTestBehavior.opaque,
}) : super(key: key);