Skip to content

Conversation

@EArminjon
Copy link

The following SVG throw an exception (when using flutter_svg) : https://sweden.a.bigcontent.io/v1/static/10000199.

This SVG contain an empty tag : <polygon xmlns="http://www.w3.org/2000/svg" fill="#0a287d" points="" id="polygon7"/> which lead to the issue.

Checking as this PR did if path is null avoid the issue.

@zanderso
Copy link
Contributor

zanderso commented Nov 1, 2024

Hi there, The Flutter team is now maintaining these packages in the flutter/packages repository at packages/vector_graphics and packages/vector_graphics_compiler. We'd appreciate it if you could direct this PR to those locations instead. Thanks!

@EArminjon
Copy link
Author

EArminjon commented Nov 2, 2024

PR open flutter/packages#8006

@EArminjon EArminjon closed this Nov 2, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Nov 8, 2024
The following SVG throw an exception (when using flutter_svg) : https://sweden.a.bigcontent.io/v1/static/10000199.

This SVG contain an empty tag : <polygon xmlns="http://www.w3.org/2000/svg" fill="#0a287d" points="" id="polygon7"/> which lead to the issue.

This PR check if path is null to avoid the issue.

PR from dnfield/vector_graphics#254
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 this pull request may close these issues.

2 participants