I am using flame_svg: ^0.0.1 package from flutter for rendering svg when i try to load the svg it gives the below error
flutter: The following assertion was thrown in _getDefinitionPaint:
flutter: Failed to find definition for url(#paint0_linear)
flutter: This library only supports <defs> and xlink:href references that are defined ahead of their
flutter: references.
flutter: This error can be caused when the desired definition is defined after the element referring to it
flutter: (e.g. at the end of the file), or defined in another file.
flutter: This error is treated as non-fatal, but your SVG file will likely not render as intended
As suggested on the logs provided, it seems that the SVG that you're trying to display is unsupported:
Make sure that the SVG that you're trying to load has the supported tags. You can try loading a different SVG and see if it can be displayed.