Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do you plan to support dart language? #11

Open
phpmaple opened this issue Aug 9, 2019 · 4 comments
Open

do you plan to support dart language? #11

phpmaple opened this issue Aug 9, 2019 · 4 comments

Comments

@phpmaple
Copy link

phpmaple commented Aug 9, 2019

No description provided.

@gcamp806
Copy link

gcamp806 commented Oct 4, 2019

The main difference is the leading alpha value before the standard RGB values.
For example:
static const lightGreyBlue = const Color(0xff91bde2);

@chinchiheather
Copy link
Owner

I am not familiar with Dart - by adding support, do you just mean support that number type?

It looks like it is a different format to the 8 digit hex you can use in CSS in Chrome. They have it the other way round where the last 2 digits represent the alpha.

In theory I have no problems adding support for it, but if it using a different format it gets trickier.

@gcamp806
Copy link

gcamp806 commented Oct 7, 2019

Yes, supporting that 8-digit hex number type to display the color. If you are able to filter on filename extension, this number format will appear in files with the .dart extension. And all dart source code files have the same .dart extension.

@airtonix
Copy link

airtonix commented Jan 15, 2024

there's two issues here:

  1. the filetype
  2. the colour format, which is the same as css #RRGGBBAA

The meat of this issue is #2.

to that end we should look at moving away from the regexp and find a more complete colour solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants