Skip to content

Change Colors.fromARGB() to Colors.fromRGBA() #5289

Closed

Description

@dvdwasibi

This is a potential usability improvement.

  • Usually when designers/developers specify color, the order is RGBA.
  • This is also true for CSS.
  • Alpha value is also usually from 0-100 or 0.0-1.0 instead from 0-255.
  • This will reduce cognitive overhead for designers/developers coming from the web world.

Examples:
Chrome:
screen shot 2016-08-08 at 12 07 43 pm

Sketch:
screen shot 2016-08-08 at 12 09 23 pm

Activity

  1. sethladd commented on Aug 8, 2016

    @sethladd
    Contributor

    Thanks for filing! Dupe of #5205 :)

  2. github-actions commented on Sep 6, 2021

    @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.

  3. locked as resolved and limited conversation to collaborators on Sep 6, 2021
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions