'How can i add font for text in SVG? Flutter
I add text in svg image with font, but text font doesn't work. I download ttf of font, add in assets and pubspec. But after that it doesn't work either.
<text fill="#e30a17" font-family="HelloShilla, Hello Shilla" font-size="36" transform="translate(557.26 282.1)">Hello</text>
SvgPicture.asset("assets/images/myImage.svg")
Solution 1:[1]
I replace file with font in SVG file and It helps me to solve It.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
