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

Only hex color format currently supported #28

Closed
MickaelHrndz opened this issue Jun 30, 2023 · 1 comment
Closed

Only hex color format currently supported #28

MickaelHrndz opened this issue Jun 30, 2023 · 1 comment

Comments

@MickaelHrndz
Copy link

MickaelHrndz commented Jun 30, 2023

Hello,

I'm trying to use these animated icons in my app : https://github.com/basmilius/weather-icons

I'm getting this error :

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: Only hex color format currently supported. String:  url(#a)
SvgParser.parseColor (package:drawing_animation/src/parser.dart:28:7)
SvgParser.loadFromString.<anonymous closure> (package:drawing_animation/src/parser.dart:91:19)
Iterable.forEach (dart:core/iterable.dart:346:35)
SvgParser.loadFromString (package:drawing_animation/src/parser.dart:63:10)
SvgParser.loadFromFile (package:drawing_animation/src/parser.dart:124:5)
<asynchronous suspension>
@MickaelHrndz
Copy link
Author

My bad, I didn't see the supported SVG specs. So I guess this issue is a partial duplicate of #5.

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

1 participant