HusseinCopol / interactable_svg

A flutter package for interact with different parts of a SVG.
MIT License
9 stars 6 forks source link

Different color for individual path. #2

Open rozyjaret opened 8 months ago

rozyjaret commented 8 months ago

How can I set a different color for the border or fill a single path ? Also , the fill or stroke color of my path is not showing , it uses black for stroke by default. for example <path id="N" name="N" fill="#e110ae" ....... />. My requirement is to have a different color for a particular path.So instead of using black as default, it should use the colors specified in the svg. Also, it would be helpful if I can handle other properties like dot etc for individual elements rather than the entire svg. Please help me. Thanks in advance.