onTapOutside property

dynamic Function(PointerDownEvent event, FocusNode focusNode)? onTapOutside
final

This will run only when isOnTapOutsideEnabled is true by default on desktop and web it will unfocus on mobile it will only unFocus if the kind property of event PointerDownEvent is PointerDeviceKind.unknown you can override this to fit your needs

Implementation

final Function(PointerDownEvent event, FocusNode focusNode)? onTapOutside;