withColor method
Creates a WidgetSelector that finds all EditableText where color equals (==) value
.
Example usage:
spot<EditableText>().withColor(Colors.red).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> withColor(Color? value) {
return withDiagnosticProp<Color>(
'color', (it) => value == null ? it.isNull() : it.equals(value));
}