hasFocusColor method
Expects that focusColor of FloatingActionButton equals (==) value
.
Example usage:
spot<FloatingActionButton>().existsOnce().hasFocusColor(Colors.red);
Implementation
WidgetMatcher<FloatingActionButton> hasFocusColor(Color? value) {
return hasDiagnosticProp<Color>(
'focusColor', (it) => value == null ? it.isNull() : it.equals(value));
}