whereRepeat method

Creates a WidgetSelector that finds all Image where repeat matches the condition.

Example usage:

spot<Image>().whereRepeat((it) => it.equals(ImageRepeat.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Image> whereRepeat(MatchProp<ImageRepeat> match) {
  return withDiagnosticProp<ImageRepeat>('repeat', match);
}