ImageFiltered constructor Null safety
- {Key? key,
- required ImageFilter imageFilter,
- Widget? child,
- bool enabled = true}
Creates a widget that applies an ImageFilter to its child.
The imageFilter must not be null.
Implementation
const ImageFiltered({
super.key,
required this.imageFilter,
super.child,
this.enabled = true,
}) : assert(imageFilter != null);