ImageFilterLayer constructor

ImageFilterLayer(
  1. {ImageFilter? imageFilter,
  2. Offset offset = Offset.zero}
)

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,
  super.offset,
}) : _imageFilter = imageFilter;