hasTooltipWhere method

WidgetMatcher<FloatingActionButton> hasTooltipWhere(
  1. MatchProp<String> match
)

Expects that tooltip of FloatingActionButton matches the condition in match.

Example usage:

spot<FloatingActionButton>().existsOnce().hasTooltipWhere((it) => it.equals('foo'));

Implementation

WidgetMatcher<FloatingActionButton> hasTooltipWhere(MatchProp<String> match) {
  return hasDiagnosticProp<String>('tooltip', match);
}