You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to display Slovakian flag using the Flag.getFlag(country: 'sk', height: 20, width: 20), I get the following error:
════════ 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.
When I try to display Slovakian flag using the
Flag.getFlag(country: 'sk', height: 20, width: 20)
, I get the following error:════════ 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#f676f(), name: "packages/flag/res/flag/sk.svg", colorFilter: null)
══════════════════════════════════════════════════════════════
Flutter:
v1.17.0
Dart:
v2.8.1
Device:
OnePlus 7T Android 10
Package version:
flag v2.0.3
The text was updated successfully, but these errors were encountered: