whereOpacity method

  1. @useResult
WidgetSelector<Opacity> whereOpacity(
  1. MatchProp<double> match
)

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