BackdropFilter constructor

const BackdropFilter({
  1. Key? key,
  2. required ImageFilter filter,
  3. Widget? child,
  4. BlendMode blendMode = BlendMode.srcOver,
  5. bool enabled = true,
})

Creates a backdrop filter.

The blendMode argument will default to BlendMode.srcOver and must not be null if provided.

Implementation

const BackdropFilter({
  super.key,
  required this.filter,
  super.child,
  this.blendMode = BlendMode.srcOver,
  this.enabled = true,
});