whereFit method
Creates a WidgetSelector that finds all Image where fit matches the condition.
Example usage:
spot<Image>().whereFit((it) => it.equals(BoxFit.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<Image> whereFit(MatchProp<BoxFit> match) {
return withDiagnosticProp<BoxFit>('fit', match);
}