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