filter property

ImageFilter? filter

The filter to apply to the existing contents of the scene.

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

Implementation

ui.ImageFilter? get filter => _filter;
void filter=(ImageFilter? value)

Implementation

set filter(ui.ImageFilter? value) {
  if (value != _filter) {
    _filter = value;
    markNeedsAddToScene();
  }
}