whereTooltip method
Creates a WidgetSelector that finds all IconButton where tooltip matches the condition.
Example usage:
spot<IconButton>().whereTooltip((it) => it.equals('foo')).existsOnce();
Implementation
@useResult
WidgetSelector<IconButton> whereTooltip(MatchProp<String> match) {
return withDiagnosticProp<String>('tooltip', match);
}