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

Still getting problems similar to those described by issue #44. #60

Closed
psills2410 opened this issue Sep 21, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@psills2410
Copy link

Issue #44 was reported as fixed on Feb 19, but I still get very similar messages:

======== Exception caught by SVG ===================================================================
The following UnimplementedError was thrown in parseSvgElement:
The <style> element is not implemented in this library.

Style elements are not supported by this library and the requested SVG may not render as intended.

If possible, ensure the SVG uses inline styles and/or attributes (which are supported), or use a preprocessing utility such as svgcleaner to inline the styles for you.

Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#f8196(), name: "packages/flag/res/flag/ki.svg", colorFilter: null)

======== Exception caught by SVG ===================================================================
The following UnimplementedError was thrown in parseSvgElement:
The <style> element is not implemented in this library.

Style elements are not supported by this library and the requested SVG may not render as intended.

If possible, ensure the SVG uses inline styles and/or attributes (which are supported), or use a preprocessing utility such as svgcleaner to inline the styles for you.

Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#f8196(), name: "packages/flag/res/flag/mo.svg", colorFilter: null)

I/flutter ( 9950): unhandled element metadata; Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#f8196(), name: "packages/flag/res/flag/xk.svg", colorFilter: null)
I/flutter ( 9950): unhandled element sodipodi:namedview; Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#f8196(), name: "packages/flag/res/flag/xk.svg", colorFilter: null)
I/flutter ( 9950): Warning: Flutter SVG only supports the following formats for width and height on the SVG root:
I/flutter ( 9950): width="100%"
I/flutter ( 9950): width="100px"
I/flutter ( 9950): width="100" (where the number will be treated as pixels).
I/flutter ( 9950): The supplied value (756.13pt) will be discarded and treated as if it had not been specified.
I/flutter ( 9950): Warning: Flutter SVG only supports the following formats for width and height on the SVG root:
I/flutter ( 9950): width="100%"
I/flutter ( 9950): width="100px"
I/flutter ( 9950): width="100" (where the number will be treated as pixels).
I/flutter ( 9950): The supplied value (504.09pt) will be discarded and treated as if it had not been specified.

@LunaGao LunaGao self-assigned this Jan 10, 2022
@LunaGao LunaGao added the bug Something isn't working label Jan 10, 2022
@LunaGao
Copy link
Owner

LunaGao commented Jan 16, 2022

fixed in v6.0.0

@LunaGao LunaGao closed this as completed Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants