filter property

ImageFilter? get filter

The underlying ui.ImageFilter if this configuration was created by wrapping an existing filter.

This getter returns non-null only if this object was created using the default ImageFilterConfig.new constructor.

For all other constructors (such as ImageFilterConfig.blur), this getter returns null, even if the filter's parameters do not currently depend on layout information. For these configurations, you must use resolve to obtain the actual ui.ImageFilter.

Implementation

ui.ImageFilter? get filter => null;