ImageFilterLayer constructor Null safety
- {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;