whereSize method

  1. @useResult
WidgetSelector<Icon> whereSize(
  1. MatchProp<double> match
)

Creates a WidgetSelector that finds all Icon where size matches the condition.

Example usage:

spot<Icon>().whereSize((it) => it.isGreaterThan(10.5)).existsOnce();

Implementation

@useResult
WidgetSelector<Icon> whereSize(MatchProp<double> match) {
  return withDiagnosticProp<double>('size', match);
}