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

Problem with colors #4

Closed
vico-aguado opened this issue May 8, 2019 · 3 comments
Closed

Problem with colors #4

vico-aguado opened this issue May 8, 2019 · 3 comments

Comments

@vico-aguado
Copy link

Hi @biocarl!

I tried the example3 but the page with the color example doesn't seem to be working, the lines painting it black. :(

Thanks!

@r21meghashyam
Copy link

r21meghashyam commented Jun 14, 2019

@vico-aguado , as stated

Supported SVG specifications

Only path elements () are supported for now. I'm currently considering to add flutter_svg as dependency for more complete SVG parsing.
Attributes
stroke, only Hex-Color without alpha for now
stroke-width
style, but only the both fields above
No transforms are supported, yet.

If you want to change the color of the stroke lines, add stroke="color-code" and stroke-width="pixels" to path element.

ex:

<path stroke="#ffffff" stroke-width="5" fill="#ffffff" d="M473.6,92.43.... " />

@tibbiyelininja
Copy link

I'm currently considering to add flutter_svg as dependency for more complete SVG parsing.

that would be awesome if you implement it.

@biocarl
Copy link
Owner

biocarl commented Jul 21, 2019

@vico-aguado @r21meghashyam Actually there was an issue with the colors, sorry for fixing it only now.

See [Fix] Problem with colors e90ec11

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

No branches or pull requests

4 participants