colorFilter property

ColorFilter? colorFilter

The color filter to apply to children.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

Implementation

ColorFilter? get colorFilter => _colorFilter;
void colorFilter=(ColorFilter? value)

Implementation

set colorFilter(ColorFilter? value) {
  assert(value != null);
  if (value != _colorFilter) {
    _colorFilter = value;
    markNeedsAddToScene();
  }
}