hasContainer method
Expects that container of Semantics equals (==) value
.
Example usage:
spot<Semantics>().existsOnce().hasContainer(true);
Implementation
WidgetMatcher<Semantics> hasContainer(bool? value) {
return hasDiagnosticProp<bool>(
'container', (it) => value == null ? it.isNull() : it.equals(value));
}