withRepeat method
Creates a WidgetSelector that finds all Image where repeat equals (==) value
.
Example usage:
spot<Image>().withRepeat(ImageRepeat.values.first).existsOnce();
Implementation
@useResult
WidgetSelector<Image> withRepeat(ImageRepeat? value) {
return withDiagnosticProp<ImageRepeat>(
'repeat', (it) => value == null ? it.isNull() : it.equals(value));
}