Is SVG image officialy support by flutter?

7,041

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

Original issue

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

Share:
7,041
Sanjayrajsinh
Author by

Sanjayrajsinh

Updated on December 19, 2022

Comments

  • Sanjayrajsinh
    Sanjayrajsinh over 1 year
    1. Is iOS and android support SVG in flutter app ?
    2. Is use of SVG is safe in flutter ?
  • Sanjayrajsinh
    Sanjayrajsinh about 4 years
    what do you mean by extra work ? you say about randering or developer work ?
  • Marc Baker
    Marc Baker about 4 years
    You 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
    jasie over 2 years
    While 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
    woprandi over 2 years
    It's not official