Decides whether widget is the target of a Highlight.
widget
typedef WidgetMatcher = bool Function(Widget widget);