filter property Null safety
The image filter to apply to the existing painted content before painting the child.
For example, consider using ui.ImageFilter.blur to create a backdrop blur effect.
Implementation
ui.ImageFilter get filter => _filter;
Implementation
set filter(ui.ImageFilter value) {
assert(value != null);
if (_filter == value) {
return;
}
_filter = value;
markNeedsPaint();
}