Viewing version 1.1.6. Open the latest package page.

vector_graphics

1.1.6

A vector graphics rendering package for Flutter.

Download archive

Readme

vector_graphics

A vector graphics rendering runtime for Flutter. This package is intended for use with output from the package:vector_graphics_compiler and encoded via a tightly coupled version of package:vector_graphics_codec.

Changelog

CHANGELOG

1.1.6

  • Fix bug in text position computation when transforms are involved.

1.1.5+1

  • Remove/update some invalid assertions related to image formats.

1.1.5

  • 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.4

  • Support more image formats and malformed MIME types.
  • Fix inheritence for fill-rules.

1.1.3

  • Further improvements to whitespace handling for text.

1.1.2

  • Fix handling and inheritence of none.

1.1.1

  • Multiple text positioning bug fixes.
  • Preserve stroke-opacity when specified.

1.1.0

  • 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 use elements is more correctly handled.
  • Make currentColor non-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.

1.0.1+1

  • Fix bug in asset loading from packages.

1.0.1

  • Fix handling of fill colors on use/group elements.

1.0.0+1

  • Fix issue in pattern decoding.
  • Fix issue in matrix parsing for some combinations of matrices.

1.0.0

  • Stable release.
  • Use ImageCache for images.
  • Bug fixes for image rendering.
  • Better support for synchronous usage in testing.
  • Make clipping the viewbox optional.

0.0.3

  • Improvements to CLI utilities.
  • Dispose unused objects.
  • Improved support for HTML backend.
  • Less aggressive rasterization strategy for flutter_svg compatibility.

0.0.2

  • Support for drawing images

0.0.1

  • Added VectorGraphic which consumes encoded vector graphics assets using a BytesLoader.
  • Added AssetBytesLoader and NetworkBytesLoader as example loader implementations.

0.0.0

  • Create repository

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'vector_graphics:1.1.6'
pubspec.yaml
name: vector_graphics
description: A vector graphics rendering package for Flutter.
version: 1.1.6
homepage: https://github.com/dnfield/vector_graphics

environment:
  sdk: ">=2.17.0 <3.0.0"
  flutter: ">=3.5.0-0"

dependencies:
  flutter:
    sdk: flutter
  vector_graphics_codec: 1.1.6

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^1.0.0
  vector_graphics_compiler: 1.1.6

# Comment out before publishing
dependency_overrides:
  vector_graphics_codec:
    path: ../vector_graphics_codec
  vector_graphics_compiler:
    path: ../vector_graphics_compiler

platforms:
  android:
  ios:
  linux:
  macos:
  web:
  windows:

Version history

VersionPublishedArchiveSHA-256
0.0.0On demandDownload69ced345…c45e55
0.0.1Cached · Upstream SHA-256 matchedDownloada8038a3e…1bc035
0.0.2On demandDownload693c263b…9ea564
0.0.3Cached · Upstream SHA-256 matchedDownload1c0c4f64…d4b17f
0.0.4Cached · Upstream SHA-256 matchedDownloade81c57c5…83467f
0.0.5Cached · Upstream SHA-256 matchedDownloadba092adf…2c6870
1.0.0Cached · Upstream SHA-256 matchedDownload98993cdc…69f692
1.0.0+1Cached · Upstream SHA-256 matchedDownloadbe068bd8…06e01b
1.0.1Cached · Upstream SHA-256 matchedDownload09562ef5…62603b
1.1.0Cached · Upstream SHA-256 matchedDownload254348b4…b1fb44
1.1.1Cached · Upstream SHA-256 matchedDownloade43c3882…0918ef
1.1.2Cached · Upstream SHA-256 matchedDownloadda125a37…b3c880
1.1.3Cached · Upstream SHA-256 matchedDownload2f317d96…0d2803
1.1.4Cached · Upstream SHA-256 matchedDownload4cf8e60d…ae4aaa
1.1.5Cached · Upstream SHA-256 matchedDownloadea8d3fc7…d43a79
1.1.5+1Cached · Upstream SHA-256 matchedDownload59a230f8…f3ed2b
1.1.6Cached · Upstream SHA-256 matchedDownloadb96f10cb…d38a4f
1.1.7Cached · Upstream SHA-256 matchedDownload670f6e07…eac67f
1.1.9Cached · Upstream SHA-256 matchedDownloadb16dadf7…3ce714
1.1.9+1Cached · Upstream SHA-256 matchedDownload0f0c746d…d4ad43
1.1.9+2Cached · Upstream SHA-256 matchedDownload18f66902…062172
1.1.10Cached · Upstream SHA-256 matchedDownloadff64a352…d76260
1.1.10+1Cached · Upstream SHA-256 matchedDownload4ac59808…af9752
1.1.11Cached · Upstream SHA-256 matchedDownload9b238dc0…7cc93a
1.1.11+1Cached · Upstream SHA-256 matchedDownload32c3c684…e288e3
1.1.12Cached · Upstream SHA-256 matchedDownload0b9149c6…46c4f0
1.1.13Cached · Upstream SHA-256 matchedDownload542f79cb…cd5a79
1.1.14Cached · Upstream SHA-256 matchedDownload773c9522…de7878
1.1.15Cached · Upstream SHA-256 matchedDownload27d5fefe…912cb7
1.1.16Cached · Upstream SHA-256 matchedDownload7ed22c21…abef61
1.1.17Cached · Upstream SHA-256 matchedDownloada1870d39…b4bd7e
1.1.18Cached · Upstream SHA-256 matchedDownload44cc7104…bcf6de
1.1.19Cached · Upstream SHA-256 matchedDownloada4f059dc…d461e6
1.1.20Cached · Upstream SHA-256 matchedDownload7076216a…7772b1
1.1.21Cached · Upstream SHA-256 matchedDownload81da85e9…ea4373
1.2.0Cached · Upstream SHA-256 matchedDownload6409a250…2bf445
1.2.1Cached · Upstream SHA-256 matchedDownload4d35a364…25209a
1.2.2Cached · Upstream SHA-256 matchedDownload2306c03d…e5e42d
1.2.3Cached · Upstream SHA-256 matchedDownload9d0e3b9c…e83935
1.2.4Cached · Upstream SHA-256 matchedDownload0964703d…9a2f5e
1.2.5Cached · Upstream SHA-256 matchedDownload4e5f106d…1363f4

Dependencies

flutter { "sdk": "flutter" }

vector_graphics_codec "1.1.6"