Viewing version 1.1.5. Open the latest package page.
vector_graphics
1.1.5A vector graphics rendering package for Flutter.
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.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
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.
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
ImageCachefor 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
VectorGraphicwhich consumes encoded vector graphics assets using aBytesLoader. - Added
AssetBytesLoaderandNetworkBytesLoaderas 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.5'pubspec.yaml
name: vector_graphics
description: A vector graphics rendering package for Flutter.
version: 1.1.5
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.5
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
vector_graphics_compiler: 1.1.5
# 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
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.0 | On demand | Download | 69ced345…c45e55 |
| 0.0.1 | Cached · Upstream SHA-256 matched | Download | a8038a3e…1bc035 |
| 0.0.2 | On demand | Download | 693c263b…9ea564 |
| 0.0.3 | Cached · Upstream SHA-256 matched | Download | 1c0c4f64…d4b17f |
| 0.0.4 | Cached · Upstream SHA-256 matched | Download | e81c57c5…83467f |
| 0.0.5 | Cached · Upstream SHA-256 matched | Download | ba092adf…2c6870 |
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 98993cdc…69f692 |
| 1.0.0+1 | Cached · Upstream SHA-256 matched | Download | be068bd8…06e01b |
| 1.0.1 | Cached · Upstream SHA-256 matched | Download | 09562ef5…62603b |
| 1.1.0 | Cached · Upstream SHA-256 matched | Download | 254348b4…b1fb44 |
| 1.1.1 | Cached · Upstream SHA-256 matched | Download | e43c3882…0918ef |
| 1.1.2 | Cached · Upstream SHA-256 matched | Download | da125a37…b3c880 |
| 1.1.3 | Cached · Upstream SHA-256 matched | Download | 2f317d96…0d2803 |
| 1.1.4 | Cached · Upstream SHA-256 matched | Download | 4cf8e60d…ae4aaa |
| 1.1.5 | Cached · Upstream SHA-256 matched | Download | ea8d3fc7…d43a79 |
| 1.1.5+1 | Cached · Upstream SHA-256 matched | Download | 59a230f8…f3ed2b |
| 1.1.6 | Cached · Upstream SHA-256 matched | Download | b96f10cb…d38a4f |
| 1.1.7 | Cached · Upstream SHA-256 matched | Download | 670f6e07…eac67f |
| 1.1.9 | Cached · Upstream SHA-256 matched | Download | b16dadf7…3ce714 |
| 1.1.9+1 | Cached · Upstream SHA-256 matched | Download | 0f0c746d…d4ad43 |
| 1.1.9+2 | Cached · Upstream SHA-256 matched | Download | 18f66902…062172 |
| 1.1.10 | Cached · Upstream SHA-256 matched | Download | ff64a352…d76260 |
| 1.1.10+1 | Cached · Upstream SHA-256 matched | Download | 4ac59808…af9752 |
| 1.1.11 | Cached · Upstream SHA-256 matched | Download | 9b238dc0…7cc93a |
| 1.1.11+1 | Cached · Upstream SHA-256 matched | Download | 32c3c684…e288e3 |
| 1.1.12 | Cached · Upstream SHA-256 matched | Download | 0b9149c6…46c4f0 |
| 1.1.13 | Cached · Upstream SHA-256 matched | Download | 542f79cb…cd5a79 |
| 1.1.14 | Cached · Upstream SHA-256 matched | Download | 773c9522…de7878 |
| 1.1.15 | Cached · Upstream SHA-256 matched | Download | 27d5fefe…912cb7 |
| 1.1.16 | Cached · Upstream SHA-256 matched | Download | 7ed22c21…abef61 |
| 1.1.17 | Cached · Upstream SHA-256 matched | Download | a1870d39…b4bd7e |
| 1.1.18 | Cached · Upstream SHA-256 matched | Download | 44cc7104…bcf6de |
| 1.1.19 | Cached · Upstream SHA-256 matched | Download | a4f059dc…d461e6 |
| 1.1.20 | Cached · Upstream SHA-256 matched | Download | 7076216a…7772b1 |
| 1.1.21 | Cached · Upstream SHA-256 matched | Download | 81da85e9…ea4373 |
| 1.2.0 | Cached · Upstream SHA-256 matched | Download | 6409a250…2bf445 |
| 1.2.1 | Cached · Upstream SHA-256 matched | Download | 4d35a364…25209a |
| 1.2.2 | Cached · Upstream SHA-256 matched | Download | 2306c03d…e5e42d |
| 1.2.3 | Cached · Upstream SHA-256 matched | Download | 9d0e3b9c…e83935 |
| 1.2.4 | Cached · Upstream SHA-256 matched | Download | 0964703d…9a2f5e |
| 1.2.5 | Cached · Upstream SHA-256 matched | Download | 4e5f106d…1363f4 |
Dependencies
flutter {
"sdk": "flutter"
}
vector_graphics_codec "1.1.5"