whereReadOnly method
Creates a WidgetSelector that finds all EditableText where readOnly matches the condition.
Example usage:
spot<EditableText>().whereReadOnly((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> whereReadOnly(MatchProp<bool> match) {
return withDiagnosticProp<bool>('readOnly', match);
}