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