dismissKeyboardOnTap method Null safety

Widget dismissKeyboardOnTap(
  1. BuildContext context
)

Implementation

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