whereWeight method

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

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

Example usage:

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

Implementation

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