hasContainer method

WidgetMatcher<Semantics> hasContainer(
  1. bool? value
)

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));
}