hasClipBehavior method

WidgetMatcher<Container> hasClipBehavior(
  1. Clip? value
)

Expects that clipBehavior of Container equals (==) value.

Example usage:

spot<Container>().existsOnce().hasClipBehavior(Clip.values.first);

Implementation

WidgetMatcher<Container> hasClipBehavior(Clip? value) {
  return hasDiagnosticProp<Clip>(
      'clipBehavior', (it) => value == null ? it.isNull() : it.equals(value));
}