Skip to content

MatrixTransition.filterQuality doesn't outline performance implications if it is provided or null #192071

Description

@victorsanni

The documentation for MatrixTransition.filterQuality says:

The transform will be applied by re-rendering the child if filterQuality is null, otherwise it controls the quality of an ImageFilter.matrix applied to a bitmap rendering of the child.

But it is not clear when/how often the child is re-rendered if null, or what the performance implications of that are, or how setting it affects the layer structure. So it can be non-obvious to a reader when to set it and when not to.

This came up in reviewing this PR which sets it to null for platform views.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsd: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions