clearFocusGesture static method
Create gesture detector with clear focus
Implementation
static GestureDetector clearFocusGesture(BuildContext context, Widget child) {
return GestureDetector(
onTap: () {
clearFocus(context);
},
child: child);
}