Skip to content

color picker not shows with dot shorthand syntax #5810

Closed

Description

@suryasarisa99

Doesn't shows color picker if we use dot shorthand syntax. like this: color: .new(0xffffffff) , color: .fromARGB(255, 255, 255, 255)

Activity

  1. added this to the v3.124.0 milestone on Nov 20, 2025
  2. added
    in editorRelates to code editing or language features
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
    on Nov 20, 2025
  3. DanTup commented on Nov 20, 2025

    @DanTup
    Member
  4. suryasarisa99 commented on Nov 20, 2025

    @suryasarisa99
    Author

    and also when ever we change color with color picker it always uses default format: Color.fromARGB(...) instead the format we used in code.

  5. DanTup commented on Nov 20, 2025

    @DanTup
    Member

    and also when ever we change color with color picker it always uses default format:

    Unfortunately we can't fix this one because VS Code makes assumptions about us always returning the presentations in the same order (but the request is not stateful). This was discussed a little at #4978.

  6. DanTup commented on Nov 25, 2025

    @DanTup
    Member

    The fix landed in the SDK at dart-lang/sdk@75fd090 and will be included in a future Dart/Flutter SDK release.

    Thanks!

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

    in editorRelates to code editing or language featuresin flutterRelates to running Flutter appsin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions