imageFilter property

ImageFilter? get imageFilter

The image filter to apply to children.

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

Implementation

ui.ImageFilter? get imageFilter => _imageFilter;
set imageFilter (ImageFilter? value)

Implementation

set imageFilter(ui.ImageFilter? value) {
  assert(value != null);
  if (value != _imageFilter) {
    _imageFilter = value;
    markNeedsAddToScene();
  }
}