biocarl/drawing_animation

Only hex color format currently supported

Closed this issue · 1 comments

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>

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