whereWeight method
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);
}