whereClipBehavior method

  1. @useResult
WidgetSelector<Container> whereClipBehavior(
  1. MatchProp<Clip> match
)

Creates a WidgetSelector that finds all Container where clipBehavior matches the condition.

Example usage:

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

Implementation

@useResult
WidgetSelector<Container> whereClipBehavior(MatchProp<Clip> match) {
  return withDiagnosticProp<Clip>('clipBehavior', match);
}