whereColorBlendMode method

  1. @useResult
WidgetSelector<Image> whereColorBlendMode(
  1. MatchProp<BlendMode> match
)

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

Example usage:

spot<Image>().whereColorBlendMode((it) => it.equals(BlendMode.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Image> whereColorBlendMode(MatchProp<BlendMode> match) {
  return withDiagnosticProp<BlendMode>('colorBlendMode', match);
}