Open fakhravari opened 1 year ago
help me
bro did u find any solution this is occuring for me too
hey
`const String svgNotifications = '''
''';`
SvgPicture.string( svgNotifications, width: 28, height: 28, ),
Mine is a normal svg but try it like that, it worked for me
is there a callback at least that captures the error event so i could display a placeholder?
I was not getting this error locally on web, but was after deploying and building the app I was getting this error. What I found was I was referencing the svg as icons/my-icon.svg
as opposed to assets/icons/my-icon.svg
in my SvgPicture.asset()
. Hope this helps.
I was not getting this error locally on web, but was after deploying and building the app I was getting this error. What I found was I was referencing the svg as
icons/my-icon.svg
as opposed toassets/icons/my-icon.svg
in mySvgPicture.asset()
. Hope this helps.
Same issue, thanks for the solution.
Why is there no error handling on the SvgPicture object?!!
SvgPicture.asset( AppImagesAssets.logoAppbar, height: 55, color: Theme.of(context).colorScheme.primary, semanticsLabel: 'PMLM', )