Closed rajeshzmoke closed 3 months ago
There's not enough here to conclude that this is a bug. You'll need to do some work on your side, and narrow it down. Based on what you've provided, it could be a bug, or it could be a feature that isn't implemented. Chances are quite high it's something that's not implemented, as described in the readme.
One starting point is to look at the error messages the library generates (the warnings); that might help to identify what part of your SVG is triggering this behavior. If it's not immediately obvious from that, standard debugging techniques apply.
Please re-submit when you've done enough investigation to say what part of the SVG spec is at issue, and when you can provide a reasonably minimal asset that shows the problem.
I/flutter (23993): Ignoring x attribute(s) in svg
I/flutter (23993): Ignoring space attribute(s) in svg
I/flutter (23993): Ignoring y attribute(s) in svg
I/flutter (23993): Ignoring enable-background attribute(s) in svg
I/flutter (23993): Ignoring x attribute(s) in svg
I/flutter (23993): Ignoring space attribute(s) in svg
I/flutter (23993): Ignoring y attribute(s) in svg
I/flutter (23993): Ignoring enable-background attribute(s) in svg
I/flutter (23993): Ignoring x attribute(s) in svg
I/flutter (23993): Ignoring space attribute(s) in svg
I/flutter (23993): Ignoring y attribute(s) in svg
I/flutter (23993): Ignoring enable-background attribute(s) in svg
i get these log messages in console
so i'm guessing its related to this?
CSS attributes that don't have a corresponding SVG attribute generally are not supported, e.g. background and transform-origin are not.
Possibly. That's certainly something you can investigate. Feel free to open an issue if you're able to narrow it down to something specific.
the code used
the url is
https://cdn.shopify.com/s/files/1/0037/7690/5283/files/vpq-sweat-lot.svg?v=1622450612
the downloaded svg string looks like this
Issue: the svg is not rendering properly
i did go through the readme but i'm not an expert on svgs and styles