Skip to content

Add dart fix for Color.opacity and Color.withOpacity #154572

Closed

Description

@gaaclarke

#127855 deprecates Color.opacity and Color.withOpacity. We should make a dart fix that will automate migrating these to the new APIs (ie Color.a and Color.withValues).

Activity

  1. goderbauer commented on Sep 3, 2024

    @goderbauer
    Member

    This is where our existing dart fixes live: https://github.com/flutter/flutter/tree/master/packages/flutter/lib/fix_data

    You can probably use one of those as a blueprint. The readme there also links to the dart fix documentation with more information.

  2. gaaclarke commented on Sep 5, 2024

    @gaaclarke
    MemberAuthor

    @LouiseHsu here is the dart fix that I mentioned. I've sorted my work items left for wide gamut framework and this one doesn't actually need to be done as fast as I was thinking. If you're interested in it and could get around to it in the next couple of weeks let me know. (cc @jmagman).

  3. added
    P2Important issues not at the top of the work list
    on Sep 9, 2024
  4. github-actions commented on Sep 25, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Sep 25, 2024
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 listteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions