dismissKeyboardOnTap method Null safety
- BuildContext context
Implementation
Widget dismissKeyboardOnTap(BuildContext context) {
return GestureDetector(
onTap: () => FocusScope.of(context).unfocus(),
child: this,
);
}
Widget dismissKeyboardOnTap(BuildContext context) {
return GestureDetector(
onTap: () => FocusScope.of(context).unfocus(),
child: this,
);
}