whereOpacity method

Creates a WidgetSelector that finds all Image where opacity matches the condition.

Example usage:

spot<Image>().whereOpacity((it) => it.equals(null)).existsOnce();

Implementation

@useResult
WidgetSelector<Image> whereOpacity(MatchProp<Animation<double>?> match) {
  return withDiagnosticProp<Animation<double>?>('opacity', match);
}