withColorBlendMode method

  1. @useResult
WidgetSelector<Image> withColorBlendMode(
  1. BlendMode? value
)

Creates a WidgetSelector that finds all Image where colorBlendMode equals (==) value.

Example usage:

spot<Image>().withColorBlendMode(BlendMode.values.first).existsOnce();

Implementation

@useResult
WidgetSelector<Image> withColorBlendMode(BlendMode? value) {
  return withDiagnosticProp<BlendMode>('colorBlendMode',
      (it) => value == null ? it.isNull() : it.equals(value));
}