colorFilter property

ColorFilter? get 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;
set colorFilter (ColorFilter? value)

Implementation

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