ImageFilterLayer constructor
- ImageFilter? imageFilter,
- Offset offset = Offset.zero,
Creates a layer that applies an ui.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;