filterConfig property
The configuration for the image filter to apply to the existing painted content.
For example, consider using ImageFilterConfig.blur to create a backdrop blur effect.
The filterConfig property is equivalent to filter (with the help of
the ImageFilterConfig.new constructor), except for features only
supported by ImageFilterConfig (such as the bounds parameter in
ImageFilterConfig.blur).
Assigning a new filterConfig will overwrite any existing filter assigned via the filter setter.
Implementation
ImageFilterConfig get filterConfig => _filterConfig;
Implementation
set filterConfig(ImageFilterConfig value) {
if (_filterConfig == value) {
return;
}
_filterConfig = value;
markNeedsPaint();
}