hasFocusColorWhere method
Expects that focusColor of FloatingActionButton matches the condition in match
.
Example usage:
spot<FloatingActionButton>().existsOnce().hasFocusColorWhere((it) => it.equals(Colors.red));
Implementation
WidgetMatcher<FloatingActionButton> hasFocusColorWhere(
MatchProp<Color> match) {
return hasDiagnosticProp<Color>('focusColor', match);
}