RenderBackdropFilter constructor

RenderBackdropFilter({
  1. RenderBox? child,
  2. required ImageFilter filter,
  3. BlendMode blendMode = BlendMode.srcOver,
})

Creates a backdrop filter. The blendMode argument defaults to BlendMode.srcOver.

Implementation

//
/// The [blendMode] argument defaults to [BlendMode.srcOver].
RenderBackdropFilter({ RenderBox? child, required ui.ImageFilter filter, BlendMode blendMode = BlendMode.srcOver })
  : _filter = filter,
    _blendMode = blendMode,
    super(child);