vector_graphics
A vector graphics rendering package for Flutter using a binary encoding.
1.2.3
4.8M downloads/mo
#153 most downloaded on pub.dev
flutter/packages
What this package is like to depend on
Last release 23 days ago
31 Jul 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 36 of 38 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
39 releases · first in 2022
6 releases in the last 12 months
see the full history below
Release timeline
39 releases · Feb 2022 to Jul 2026
2023
2024
2025
2026
Releases
latest 39-
1.2.331 Jul 2026Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
- Fixes a crash when a
semanticsLabelis provided without an ambientDirectionality(flutter/flutter#175532).
-
1.2.218 May 2026Release notes
Open source →- Fixes
text-anchoron<text>with multiple<tspan>children. The anchor now applies to the entire anchored chunk as required by the SVG spec, instead of independently to each tspan.
- Fixes
-
1.2.111 May 2026Release notes
Open source →- Fixes uncaught
StateErrorandNoSuchMethodErrorfromuseHtmlRenderObject()on CanvasKit / iOS Safari so SVG widgets fall back to the HTML render object.
- Fixes uncaught
-
1.2.028 Apr 2026Release notes
Open source →- Adds
imageBuilderproperty toVectorGraphicfor wrapping the loaded vector graphic widget.
- Adds
-
1.1.2130 Mar 2026 -
1.1.2010 Mar 2026Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
- Respect BoxFit parameter when viewbox is specified.
-
1.1.1910 Jun 2025Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
- Enhance image handling by adding validity checks and clear error messages for improved robustness and maintainability.
-
1.1.1805 Feb 2025Release notes
Open source →- Allow transition between placeholder and loaded image to have an animation.
-
1.1.1731 Jan 2025 -
1.1.1628 Jan 2025Release notes
Open source →- Fixes some memory leaks by disposing undisposed
ImageInfo,ui.PictureandPicture.
- Fixes some memory leaks by disposing undisposed
-
1.1.1521 Nov 2024Release notes
Open source →- Updates error handling in VectorGraphicWidget to handle errors when the bytes of the graphic cannot be loaded.
-
1.1.1405 Nov 2024 -
1.1.1331 Oct 2024 -
1.1.1231 Oct 2024Release notes
Open source →- Transfers the package source from https://github.com/dnfield/vector_graphics to https://github.com/flutter/packages.
-
1.1.1120 Feb 2024 -
1.1.11+120 Feb 2024 -
1.1.1005 Feb 2024 withdrawn -
1.1.10+106 Feb 2024 -
1.1.912 Oct 2023Release notes
Open source →- Fix handling of invalid XML
@idattributes. - Fix handling of self-referential
<use/>elements. - Add
--out-diroption to compiler. - Tweak warning message for unhandled eleemnts.
- Fix handling of invalid XML
-
1.1.9+124 Oct 2023 -
1.1.9+208 Jan 2024 -
1.1.712 Jun 2023 -
1.1.618 May 2023 -
1.1.511 Apr 2023Release notes
Open source →- Support for decoding control points as IEEE 754-2008 half precision floating point values.
- Migrate the test to extend DefaultWidgetsLocalizations.
- Added an error builder property to provide a fallback widget on exceptions.
-
1.1.5+124 Apr 2023 -
1.1.414 Mar 2023Release notes
Open source →- Support more image formats and malformed MIME types.
- Fix inheritence for
fill-rules.
-
1.1.309 Mar 2023 -
1.1.207 Mar 2023 -
1.1.104 Mar 2023Release notes
Open source →- Multiple text positioning bug fixes.
- Preserve stroke-opacity when specified.
-
1.1.022 Feb 2023Release notes
Open source →- Fix a number of inheritence related bugs:
- Inheritence of properties specified on the root element now work.
- Opacity inheritence is more correct now.
- Inheritence of
useelements is more correctly handled.
- Make
currentColornon-null on SVG theme, and fix how it is applied. - Remove the opacity peephole optimizer, which was incorrectly applying optimizations in a few cases. A future release may add this back.
- Add clipBehavior to the widget.
- Fix patterns when multiple patterns are specified and applied within the graphic.
- Fix a number of inheritence related bugs:
-
1.0.102 Feb 2023 -
1.0.018 Nov 2022Release notes
Open source →- Stable release.
- Use
ImageCachefor images. - Bug fixes for image rendering.
- Better support for synchronous usage in testing.
- Make clipping the viewbox optional.
-
1.0.0+120 Jan 2023Release notes
Open source →- Fix issue in pattern decoding.
- Fix issue in matrix parsing for some combinations of matrices.
-
0.0.505 Nov 2022Nothing published for this version
-
0.0.405 Nov 2022Nothing published for this version
-
0.0.326 Oct 2022Release notes
Open source →- Improvements to CLI utilities.
- Dispose unused objects.
- Improved support for HTML backend.
- Less aggressive rasterization strategy for flutter_svg compatibility.
-
0.0.210 Aug 2022 -
0.0.126 Jul 2022Release notes
Open source →- Added
VectorGraphicwhich consumes encoded vector graphics assets using aBytesLoader. - Added
AssetBytesLoaderandNetworkBytesLoaderas example loader implementations.
- Added
-
0.0.028 Feb 2022