Skip to content

Gradient withOpacity method #150501

@vasilich6107

Description

@vasilich6107

Use case

Hey.

I want to display a disabled container with gradient which has certain level of opacity.
For now I have to apply Opacity widget which is not the top most performer.

Proposal

I would like to add withOpacity method to generate the same gradient but with opacity applied to each color in gradient.
Any cons on adding this method?(If no I could make a PR)

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 Flutterengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting 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