ColorFilterLayer constructor
- ColorFilter? colorFilter,
Creates a layer that applies a ColorFilter to its children.
The colorFilter
property must be non-null before the compositing phase
of the pipeline.
Implementation
ColorFilterLayer({
ColorFilter? colorFilter,
}) : _colorFilter = colorFilter;