imageFilter property Null safety

ImageFilter? 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;
void imageFilter=(ImageFilter? value)

Implementation

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