whereOpticalSize method

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

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

Example usage:

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

Implementation

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