hasClipBehaviorWhere method

WidgetMatcher<Container> hasClipBehaviorWhere(
  1. MatchProp<Clip> match
)

Expects that clipBehavior of Container matches the condition in match.

Example usage:

spot<Container>().existsOnce().hasClipBehaviorWhere((it) => it.equals(Clip.values.first));

Implementation

WidgetMatcher<Container> hasClipBehaviorWhere(MatchProp<Clip> match) {
  return hasDiagnosticProp<Clip>('clipBehavior', match);
}