RenderBackdropFilter constructor Null safety
- {RenderBox? child,
- required ImageFilter filter,
- BlendMode blendMode = BlendMode.srcOver}
Creates a backdrop filter.
The filter
argument must not be null.
The blendMode
argument, if provided, must not be null
and will default to BlendMode.srcOver.
Implementation
RenderBackdropFilter({ RenderBox? child, required ui.ImageFilter filter, BlendMode blendMode = BlendMode.srcOver })
: assert(filter != null),
assert(blendMode != null),
_filter = filter,
_blendMode = blendMode,
super(child);