BackdropFilterModifier constructor

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

Creates a backdrop filter.

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

Implementation

const BackdropFilterModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.filter,
  this.blendMode = BlendMode.srcOver,
});