KeyboardHider constructor

const KeyboardHider({
  1. required Widget child,
  2. HideMode mode = HideMode.unfocus,
  3. Key? key,
})

Creates a widget that on tap, hides the keyboard.

Implementation

const KeyboardHider({
  required this.child,
  this.mode = HideMode.unfocus,
  Key? key,
}) : super(key: key);