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