onTapOutside property
By default on non-mobile platforms, the editor will unfocus.
On mobile platforms, it will only unfocus if the input kind in PointerDownEvent.kind is ui.PointerDeviceKind.unknown.
By passing a non-null value, you will override the default behavior.
See also: onTapOutsideEnabled.
Implementation
final Function(PointerDownEvent event, FocusNode focusNode)? onTapOutside;