withProperties method
Creates a WidgetSelector that finds all Semantics where properties equals (==) value
.
Example usage:
spot<Semantics>().withProperties(SemanticsProperties()).existsOnce();
Implementation
@useResult
WidgetSelector<Semantics> withProperties(SemanticsProperties? value) {
return withDiagnosticProp<SemanticsProperties>(
'properties', (it) => value == null ? it.isNull() : it.equals(value));
}