Viewing version 1.1.11+1. Open the latest package page.

vector_graphics_codec

1.1.11+1

An encoding library for `package:vector_graphics`

Download archive

Readme

vector_graphics_codec

An encoding library for package:vector_graphics.

This package intentionally creates a tight coupling between package:vector_graphics_compiler and package:vector_graphics. Its format has no stability guarnatees from version to version.

This codec is not meant to have any utility outside of its usage in vector_graphics or the compiler.

Changelog

CHANGELOG

1.1.11+

  • Relax package:http constraint.

1.1.11

  • Use package:http to drop dependency on dart:html.

1.1.10+1

  • Add missing save before clip.

1.1.10

  • Add missing clip before saveLayer.

1.1.9+2

  • Fix case sensitivity on scientific notation parsing.

1.1.9+1

  • Fix publication error that did not have latest source code.

1.1.9

  • Fix handling of invalid XML @id attributes.
  • Fix handling of self-referential <use/> elements.
  • Add --out-dir option to compiler.
  • Tweak warning message for unhandled eleemnts.

1.1.8

  • Fix bugs in transform parsing.

1.1.7

  • Support for matching the ambient text direction.

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

  • Add support for encoding control points as IEEE 754-2008 half precision floating point values.
  • Increase minimum SDK to 2.17.0.
  • 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

  • Fix handling of unspecified 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

  • Initial stable release.

0.0.3

  • Pattern support.

0.0.2

  • Add support for encoding and decoding inline images.

0.0.1

  • Add [VectorGraphicsCodec], [VectorGraphicsCodecListener], and [VectorGraphicsBuffer] types used to construct and decode a vector graphics binary asset.

0.0.0

  • Create repository.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'vector_graphics_codec:1.1.11+1'
pubspec.yaml
name: vector_graphics_codec
description: An encoding library for `package:vector_graphics`
version: 1.1.11+1
homepage: https://github.com/dnfield/vector_graphics

environment:
  sdk: '>=2.17.0 <3.0.0'

dev_dependencies:
  flutter_lints: ^1.0.0
  flutter_test:
    sdk: flutter

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

Version history

VersionPublishedArchiveSHA-256
0.0.0Cached · Upstream SHA-256 matchedDownloadecde9a0e…2b5edb
0.0.1Cached · Upstream SHA-256 matchedDownloade7ac6380…bf3d03
0.0.2Cached · Upstream SHA-256 matchedDownload579b86b7…edcc04
0.0.3Cached · Upstream SHA-256 matchedDownload96bd3276…774092
0.0.4Cached · Upstream SHA-256 matchedDownload56e04d4f…a573a2
0.0.5Cached · Upstream SHA-256 matchedDownload0222b1ad…ed2a63
1.0.0Cached · Upstream SHA-256 matchedDownload843ff9da…922ffb
1.0.0+1Cached · Upstream SHA-256 matchedDownload24e0b55d…6035e8
1.0.1Cached · Upstream SHA-256 matchedDownload886e5774…3fe5a6
1.1.0Cached · Upstream SHA-256 matchedDownload143c290b…e71411
1.1.1Cached · Upstream SHA-256 matchedDownload4a85a856…b32076
1.1.2Cached · Upstream SHA-256 matchedDownload51c361df…639156
1.1.3Cached · Upstream SHA-256 matchedDownload13cccfda…1b1766
1.1.4Cached · Upstream SHA-256 matchedDownload278ad5f8…764468
1.1.5Cached · Upstream SHA-256 matchedDownloada5eaa5d1…d9aced
1.1.5+1Cached · Upstream SHA-256 matchedDownload40781fe9…bf45a3
1.1.6Cached · Upstream SHA-256 matchedDownload57a8e6e2…f31c69
1.1.7Cached · Upstream SHA-256 matchedDownload74517217…57f69f
1.1.9Cached · Upstream SHA-256 matchedDownloada4b01403…ddc539
1.1.9+1Cached · Upstream SHA-256 matchedDownload0edf6d63…9248b7
1.1.9+2Cached · Upstream SHA-256 matchedDownload531d2046…b7bb2d
1.1.10Cached · Upstream SHA-256 matchedDownloadbe0c85ee…efb4a2
1.1.10+1Cached · Upstream SHA-256 matchedDownloadf3247e7a…279e33
1.1.11Cached · Upstream SHA-256 matchedDownloaddb6a1e4c…4e4d13
1.1.11+1Cached · Upstream SHA-256 matchedDownloadc8698747…9e03da
1.1.12Cached · Upstream SHA-256 matchedDownload2430b973…2c9cdb
1.1.13Cached · Upstream SHA-256 matchedDownload99fd9fbd…806146

Dependencies

No direct dependencies declared.