ImageFilterModifier constructor

const ImageFilterModifier({
  1. Key? key,
  2. Widget? child,
  3. required ImageFilter imageFilter,
  4. bool enabled = true,
})

Creates a widget that applies an ImageFilter to its child.

The imageFilter must not be null.

Implementation

const ImageFilterModifier({
  super.key,
  super.child,
  required this.imageFilter,
  this.enabled = true,
});