PackageTrack
Sign in Get early access

flutter_svg

An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.

2.3.0 1000K downloads/mo #10 most downloaded on pub.dev flutter/packages

What this package is like to depend on

Last release 3 months ago

08 May 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 113 of 117 stable releases

1 version withdrawn

withdrawn after publishing

8 years old

124 releases · first in 2018

5 releases in the last 12 months

see the full history below

Release timeline

124 releases · May 2018 to May 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 124
  1. 2.3.0 08 May 2026
    Release notes
    • Adds an imageBuilder property to SvgPicture for wrapping the loaded SVG widget.
    Open source →
  2. 2.2.4 06 Mar 2026
    Release notes
    • Updates README with example to scale SVG without losing quality
    • Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
    Open source →
  3. 2.2.3 21 Nov 2025
    Release notes
    • Replaces use of deprecated Color.value.
    • Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.
    Open source →
  4. 2.2.2 04 Nov 2025
    Release notes
    • Fixes typo of allowDrawingOutsideViewBox in doc comments.
    Open source →
  5. 2.2.1 03 Sep 2025
    Release notes
    • Fixes message buffer access in SvgAssetLoader.
    • Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
    Open source →
  6. 2.2.0 16 Jun 2025
    Release notes
    • Exposes renderingStrategy in SvgPicture constructors.
    • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
    Open source →
  7. 2.1.0 18 Apr 2025
    Release notes
    • Exposes colorMapper in SvgPicture constructors.
    Open source →
  8. 2.0.17 09 Jan 2025
    Release notes
    • Implement errorBuilder callback
    Open source →
  9. 2.0.16 26 Nov 2024
    Release notes
    • Adopts code excerpts for README.
    Open source →
  10. 2.0.15 21 Nov 2024
    Release notes
    • Fixes SvgNetworkLoader not closing internally created http clients.
    Open source →
  11. 2.0.14 07 Nov 2024
    Release notes
    • Makes the package WASM compatible.
    Open source →
  12. 2.0.13 05 Nov 2024
    Release notes
    • Relaxes the dependency constraints on vector_graphics, vector_graphics_codec, and vector_graphics_compiler.
    Open source →
  13. 2.0.12 04 Nov 2024
    Release notes
    • Adds missing_code_block_language_in_doc_comment lint.
    Open source →
  14. 2.0.11 31 Oct 2024
    Release notes
    • Transfers the package source from https://github.com/dnfield/flutter_svg to https://github.com/flutter/packages.
    Open source →
  15. 2.0.10 20 Feb 2024
    Release notes
    • Use package:http for network requests, and allow injection of the client.
    • Bump vector_graphics dependency.
    Open source →
  16. 2.0.10+1 20 Feb 2024
    Release notes
    • Relax http dependency.
    Open source →
  17. 2.0.9 31 Oct 2023
    Release notes
    • Adds back SvgPicture(theme:) parameter with a deprecation. Although this parameter was inherently broken, removing it would require a major semver bump, which would cause consumers to miss out on important fixes.
    Open source →
  18. 2.0.8 24 Oct 2023
    Release notes
    • Adds back DefaultSvgTheme.
    • Bump vector_graphics to 1.1.9+1
    • Adds debugFillProperties
    • Fix bug for cache keys.
    Open source →
  19. 2.0.7 12 Jun 2023
    Release notes
    • Fix broken matchTextDirection.
    Open source →
  20. 2.0.6 18 May 2023
    Release notes
    • Fix test-only issues with latest Flutter stable (3.10).
    • Roll vector_graphics to higher minimum version.
    Open source →
  21. 2.0.5 10 Apr 2023
    Release notes
    • Allow malformed UTF-8 in loaders.
    • Make the cache respect the SvgTheme and ColorMapper, if present.
    Open source →
  22. 2.0.4 14 Mar 2023
    Release notes
    • Newer version of vector_graphics.
    • Caching bug fix.
    • Reintroduce clipBehavior.
    Open source →
  23. 2.0.3 09 Mar 2023
    Release notes
    • Require newer version of vector_graphics.
    • Fix bug in cache that incorrectly fired assert.
    Open source →
  24. 2.0.2 22 Feb 2023
    Release notes
    • Require newer version of vector_graphics with multiple fixes around inheritence, patterns, and currentColor handling.
    Open source →
  25. 2.0.1 13 Feb 2023
    Release notes
    • Disable Isolate parsing in debug mode.
    • Fix internal Color representation leakage from package:vector_graphics_compiler.
    Open source →
  26. 2.0.0 02 Feb 2023
    Release notes
    • Use parsing backend from vector_graphics_compiler.
      • Out of order defs now supported.
      • Patterns supported.
      • Many optimizations added.
      • REGRESSION: Lost support for dx and dy on text. See https://github.com/dnfield/vector_graphics/issues/44 if this is important to you.
    • Parse SVG data in background isolate by default.
    • Use widgets/rendering strategy from vector_graphics.
    • Much less caching.
    • More tests work without special handling - most of parsing is now sync, and the loaders know how to avoid using compute in tests. For SVGs that contain images, vg.waitForPendingDecodes is available.

    DEPRECATIONS

    • The VectorDrawable classes have gone away.
    • The AvdPicture and related classes/parser have gone away.
    • The PictureCache and PictureStream classes have gone away.
    • The PicturePovider class exists only for access to a no-op cache.
    • Several static members on SvgPicture and the svg utility class have gone away.
    • The color and colorBlendMode properties have been removed. Instead, use the colorFilter property.
    Open source →
  27. 2.0.0+1 03 Feb 2023
    Release notes
    • Fix bug in asset loading from packages.
    Open source →
  28. 2.0.0-dev.2 20 Jan 2023 pre-release

    Nothing published for this version

  29. 1.1.6 25 Oct 2022
    Release notes
    • Fix transforms on image tags, clipPaths.
    • Avoid painting zero-width strokes.
    Open source →
  30. 1.1.5 09 Sep 2022
    Release notes
    • More permissive about color strings.
    Open source →
  31. 1.1.4 17 Aug 2022
    Release notes
    • Handle default image width/height properly.
    Open source →
  32. 1.1.3 05 Aug 2022
    Release notes
    • Handle pt values.
    Open source →
  33. 1.1.2 04 Aug 2022
    Release notes
    • Update path parsing/drawing dependencies to fix arc parsing bug.
    Open source →
  34. 1.1.1 28 Jun 2022 withdrawn
    Release notes
    • Fix a bug introduced in 1.1.0 related to fill/stroke inheritence.
    • Explicit dev_dependency on flutter_lints
    • Avoid deprecated API from Flutter.
    Open source →
  35. 1.1.1+1 02 Jul 2022
    Release notes
    • Fix regression introduced in 1.1.1
    • Update fix for fill/stroke inheritence when currentColor is specified in the SVG but not in the theme.
    Open source →
  36. 1.1.0 23 May 2022
    Release notes
    • Respect stroke* properties when a paint definition is used for a stroke.
    • Respect stroke* properties from groups with no @stroke property.
    • Bump package versions.
    Open source →
  37. 1.0.3 21 Jan 2022
    Release notes
    • Use longestLine rather than minIntrinsicWidth to place text.
    • Avoid unnecessary painting when a picture doesn't actually change in [RenderPicture].
    Open source →
  38. 1.0.2 18 Jan 2022
    Release notes
    • Avoid cache invalidation when currentColor or font based units are not used.
    • Support rem units.
    Open source →
  39. 1.0.1 11 Jan 2022
    Release notes
    • Fix bug with incorrect fills in some cases of <use> elements.
    • Analysis cleanup of Dart code.
    • Fix bug where self-closing <g> tags could alter rendering.
    • Fix bug where an invalid @stroke-dasharray could cause an infinite loop.
    • Fix bugs related to nested <g> elements in <defs>.
    • Remove unnecessary sync* related code.
    Open source →
  40. 1.0.0 02 Dec 2021
    Release notes
    • New widget/RenderObject implementation to avoid rebuilds/paints when near or overlapping an animating widget. Also should improve raster cacheability.
    • Correctly list web as a supported platform.
    • Support for em/ex units.
    • Stable 1.0.0 release.
    Open source →
  41. 0.23.0 13 Oct 2021
    Release notes
    • Support for currentColor
    • Some API breaks around PictureProvider to support currentColor
    • Support for xml:space
    • Support for text-decoration
    • Support for font-style
    Open source →
  42. 0.23.0+1 13 Oct 2021
    Release notes
    • Missing commit that reduced breakages introduced in 0.23.0
    Open source →
  43. 0.22.0 22 Apr 2021
    Release notes
    • Expose PictureCache on PictureProvider, and deprecate PictureProvider.cacheCount and PictureProvider.clearCache. This is intended to allow users to set a maximum cache size, which was previously impossible.
    Open source →
  44. 0.21.0 06 Apr 2021
    Release notes
    • Stable nullsafe release.
    Open source →
  45. 0.21.0+1 07 Apr 2021
    Release notes
    • Fix alignment/sizing issues introduced in 0.21.0
    Open source →
  46. 0.21.0-nullsafety.1 06 Apr 2021 pre-release
    Release notes
    • Fix bug introduced when width and height are both null on the widget.
    • Use more efficient method for XML attribute parsing.
    Open source →
  47. 0.21.0-nullsafety.0 24 Feb 2021 pre-release
    Release notes
    • Fix sizing when both width and height are null. This is potentially breaking.
    • Bump versions to stable nullsafe when possible
    • Update README with links to alternative implementations of SVG in Flutter.
    • Attempt to report file source/key when errors happen.
    • Add missing platforms to example project, update Android embedding.
    • Minor fixes for future error handling to respect new Dart rules/expectations.
    Open source →
  48. 0.20.0-nullsafety.3 16 Dec 2020 pre-release
    Release notes
    • Fix broken image for pub.
    Open source →
  49. 0.20.0-nullsafety.2 09 Dec 2020 pre-release
    Release notes
    • Fix bug where HTTP headers were not passed along to the HTTP client.
    Open source →
  50. 0.20.0-nullsafety.0 03 Dec 2020 pre-release
    Release notes
    • Initial release with null safety
    • Remove dead code
    • Fix up incorrect catchError usages
    Open source →
  51. 0.19.3 26 Feb 2021

    Nothing published for this version

  52. 0.19.2 19 Nov 2020
    Release notes
    • Allow for opt-in/out of color filter caching behavior, undeprecate color filtering on the providers, and allow for a global override.
    Open source →
  53. 0.19.2+1 20 Nov 2020
    Release notes
    • Fix a bug where color filters were applied when they should not be.
    Open source →
  54. 0.19.1 19 Oct 2020
    Release notes
    • Fix color filtering when BlendMode.color is used.
    Open source →
  55. 0.19.0 11 Sep 2020
    Release notes
    • Avoid unnecessary cache invalidation of SVGs drawn with color changes by:
      • Deprecate color filter related options on PictureProvider classes.
      • Make ColorFilter a property on SvgPicture
      • Use the ColorFiltered widget for filtered SVGs.
    • Fix RTL rendering bug
    Open source →
  56. 0.18.1 21 Aug 2020
    Release notes
    • Bump the path_drawing dependency to 0.4.1+1
    • Expose clipBehavior from FittedBox
    • Expose SVG ids in Drawable* classes.
    • Change type of alignment to AlignmentGeometry on SvgPicture.
    • Fixed bug in transform parsing
    Open source →
  57. 0.18.0 08 Jun 2020
    Release notes
    • Drop DiagnosticbleMixin usage.
    • Bump XML dependency to ^4.1.0 and resolve deprecated API usages.
    • Await futures in tests.
    Open source →
  58. 0.17.4 07 Apr 2020
    Release notes
    • Allow precachePicture to take null for a BuildContext.
    • Provide a clearer error message when nested <svg> elements are used.
    Open source →
  59. 0.17.3 09 Mar 2020
    Release notes
    • Be more permissive about whitespace in transform attributes.
    • Stop defaulting color to black when not present, fixing issue with colors carried over from use elements.
    Open source →
  60. 0.17.3+1 09 Mar 2020
    Release notes
    • Fixed regression in v0.17.3 for shape elements with no explicit fill but explicit opacity.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive