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