whereOpacity method
Creates a WidgetSelector that finds all Opacity where opacity matches the condition.
Example usage:
spot<Opacity>().whereOpacity((it) => it.isGreaterThan(10.5)).existsOnce();
Implementation
@useResult
WidgetSelector<Opacity> whereOpacity(MatchProp<double> match) {
return withDiagnosticProp<double>('opacity', match);
}