whereWidth method

  1. @useResult
WidgetSelector<Image> whereWidth(
  1. MatchProp<double> match
)

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

Example usage:

spot<Image>().whereWidth((it) => it.isGreaterThan(10.5)).existsOnce();

Implementation

@useResult
WidgetSelector<Image> whereWidth(MatchProp<double> match) {
  return withDiagnosticProp<double>('width', match);
}