hasTooltip method
Expects that tooltip of IconButton equals (==) value
.
Example usage:
spot<IconButton>().existsOnce().hasTooltip('foo');
Implementation
WidgetMatcher<IconButton> hasTooltip(String? value) {
return hasDiagnosticProp<String>(
'tooltip', (it) => value == null ? it.isNull() : it.equals(value));
}