dismissOnCapturedTaps property
Determines whether taps captures by other Widgets should dismiss the keyboard. Defaults to false.
A common example of this is buttons. By default buttons capture the tap event and the keyboard won't be dismissed.
Implementation
final bool dismissOnCapturedTaps;