hasOpacityWhere method

WidgetMatcher<Opacity> hasOpacityWhere(
  1. MatchProp<double> match
)

Expects that opacity of Opacity matches the condition in match.

Example usage:

spot<Opacity>().existsOnce().hasOpacityWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<Opacity> hasOpacityWhere(MatchProp<double> match) {
  return hasDiagnosticProp<double>('opacity', match);
}