flag_flutter icon indicating copy to clipboard operation
flag_flutter copied to clipboard

[Version: 6.0.0] Failed to find definition for #a

Open KamleshArya opened this issue 4 years ago • 2 comments

Following exceptions are coming after upgrading to new version: 6.0.0

════════ Exception caught by SVG ═══════════════════════════════════════════════ The following assertion was thrown while parsing AssetBundlePictureKey(bundle: PlatformAssetBundle#0d224(), name: "packages/flag/res/4x3/mx.svg", colorFilter: null, theme: SvgTheme(currentColor: null, fontSize: 16, xHeight: 8)) in radialGradient: Failed to find definition for #a

This library only supports and xlink:href references that are defined ahead of their references.

This error can be caused when the desired definition is defined after the element referring to it (e.g. at the end of the file), or defined in another file.

This error is treated as non-fatal, but your SVG file will likely not render as intended

KamleshArya avatar Jan 22 '22 04:01 KamleshArya

Which platform you are using? Android, iOS, or Web?

LunaGao avatar Jan 26 '22 15:01 LunaGao

Its happening in both Android, Flutter-Web @LunaGao . Dint tried with iOS

KamleshArya avatar Jan 26 '22 15:01 KamleshArya