Flutter - SVG file's stroke becomes more thin
935
You need to create a path from the outline stroke line.
this is your svg: https://gist.github.com/kherel/02f288ecd73f0c29a04b1f2d9c5db3e3 I've used figma
Author by
hisam
Apparently, this user prefers to keep an air of mystery about them. Yes, it's a mystery.
Updated on December 23, 2022Comments
-
hisam over 1 year
I have an SVG type file. I want to show it in my Flutter app using
flutter_svg
package. But when I imported it, the color turns into black.According to this answer, I 'm using this software to clean it.
For some files, it's worked really well. But, I have an issue with this file.
When I'm trying to show it in my app, the stroke width decreased and my SVG becomes really thin.
This is what I want:
But, this is what I've got:
Does anyone have an idea how to solve this?
ATTACHMENT: This is the SVG file link
-
Alok almost 4 yearsCheck this out: stackoverflow.com/a/58425258/5362583
-
hisam almost 4 years@Alok I've done that. And it can't always render the SVG file properly.
-
-
Kherel almost 4 years@hisam If you have enough rating, feel free to upvote the answer. The SO doesn't count approved answer only total upvotes as tags score. thanks and happy coding.