RenderBackdropFilter constructor

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

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,
  bool enabled = true,
})
  : _filter = filter,
    _enabled = enabled,
    _blendMode = blendMode,
    super(child);