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

enter image description here

Share:
935
hisam
Author by

hisam

Apparently, this user prefers to keep an air of mystery about them. Yes, it's a mystery.

Updated on December 23, 2022

Comments

  • hisam
    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:

    What I want

    But, this is what I've got:

    What I got

    Does anyone have an idea how to solve this?

    ATTACHMENT: This is the SVG file link

  • Kherel
    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.