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