Skip to content

RawImage should accept blendMode and pass it to paintImage #145614

Description

@curt-weber

Use case

In BlendMode.plus it advises that images should crossfade using blendmodes. But RawImage only accepts a colorBlendMode for blending a color. RenderImage ultimately calls paintImage which accepts a blend mode but it isn't passed through.

Proposal

Add blendMode parameter to RawImage and curry it to RenderImage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions