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