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