BackdropFilterLayer constructor

BackdropFilterLayer(
  1. {ImageFilter? filter,
  2. BlendMode blendMode = BlendMode.srcOver}
)

Creates a backdrop filter layer.

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

The blendMode property defaults to BlendMode.srcOver.

Implementation

BackdropFilterLayer({
  ui.ImageFilter? filter,
  BlendMode blendMode = BlendMode.srcOver,
}) : _filter = filter,
     _blendMode = blendMode;