Skip to content

We should be able to run an ImageFilter on a paint #35141

@dnfield

Description

@dnfield

Today, if you want to blur a raster image, you have to introduce it into the widget tree and use a BackdropFilter. If you wan tto blur geometry, you have to use a MaskFilter on a paint and paint it on a Canvas.

We should be able to add ImageFilter to Paint (or something like that) so that you can blur raster images when drawing them to a canvas.

See #29483 (comment) for an example of how this gets awkward today.

/cc @apwilson

Metadata

Metadata

Assignees

Labels

engineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions