Is SVG image officialy support by flutter?
Solution 1
No flutter is not supporting yet 2021-10-18. It is tracked in the community post below.
by the way it is safe but you have to use flutter_svg library
While that issue can focus on a Flutter-specific vector drawable format, this issue should track SVG based support.
@cbazza @deborah-ufw were also particularly interested in this.
you can use flutter_svg
Solution 2
Flutter innately does not support svg as yet. However, I have used Flutter_svg package for some of my projects(using static drawings) and have not faced any problem both performance and functionality wise.
For further reading do go through this article on medium and have a look through the flutter_svg repo. They are pretty active in resolving issues if you think something is broken.
Hope it helps.
Solution 3
No by default but you can use this library
flutter_svg 0.17.4 https://pub.dev/packages/flutter_svg It works great
Sanjayrajsinh
Updated on December 19, 2022Comments
-
Sanjayrajsinh over 1 year
- Is iOS and android support SVG in flutter app ?
- Is use of SVG is safe in flutter ?
-
Sanjayrajsinh about 4 yearswhat do you mean by extra work ? you say about randering or developer work ?
-
Marc Baker about 4 yearsYou need to import a package and use that packages syntax. Choose a package on pub.dev and it will explain how to install and use. svg support does not come with flutter
-
jasie over 2 yearsWhile this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
-
woprandi over 2 yearsIt's not official