ImageFilterLayer constructor Null safety

ImageFilterLayer(
  1. {ImageFilter? imageFilter}
)

Creates a layer that applies an ImageFilter to its children.

The imageFilter property must be non-null before the compositing phase of the pipeline.

Implementation

ImageFilterLayer({
  ui.ImageFilter? imageFilter,
}) : _imageFilter = imageFilter;