BackdropFilter constructor Null safety
- {Key? key,
- required ImageFilter filter,
- Widget? child,
- 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 BackdropFilter({
super.key,
required this.filter,
super.child,
this.blendMode = BlendMode.srcOver,
}) : assert(filter != null);