hasHeroTagWhere method

WidgetMatcher<FloatingActionButton> hasHeroTagWhere(
  1. MatchProp<Object> match
)

Expects that heroTag of FloatingActionButton matches the condition in match.

Example usage:

spot<FloatingActionButton>().existsOnce().hasHeroTagWhere((it) => it.equals(Object()));

Implementation

WidgetMatcher<FloatingActionButton> hasHeroTagWhere(MatchProp<Object> match) {
  return hasDiagnosticProp<Object>('heroTag', match);
}