flutter_svg
flutter_svg copied to clipboard
Incorrect rendering of gradients from a Figma exported SVG.
Hello Dan,
Consider the following SVG:
which appears to be rendered incorrectly by flutter_svg.
Here's what I'm seeing in a Flutter App:
Here's what I was expecting:
Notice how some of the gradients appear to be wrong.
The file was designed in Figma and exported from Figma.
I'm using the following to load that SVG:
... SvgPicture.asset(path_to_asset) ...
With the following flutter release:
Flutter 3.16.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ef1af02aea (3 months ago) • 2024-01-11 15:19:26 -0600
Engine • revision 4a585b7929
Tools • Dart 3.2.4 • DevTools 2.28.5
And the newest flutter_svg release:
flutter_svg: ^2.0.10+1
Do you know if there are any limitations that might make this unlikely to ever be fixed or could this be an actual bug?
me .. too is there any updates?
I ended up using PNGs instead.
The SVG filter spec isn't supported in the package.
same issue