jovial_svg 1.1.8-rc.2 copy "jovial_svg: ^1.1.8-rc.2" to clipboard
jovial_svg: ^1.1.8-rc.2 copied to clipboard

SVG - Robust rendering of Scalable Vector Graphic images, supporting a well-defined profile of SVG and a fast-loading binary storage format.

[1.1.8] - December 2022 #

  • Add em units, and consistently allow units in SVG files
  • Suppress warnings about "data-*" attributes in SVG files

[1.1.7] - December 2022 #

  • For http loading, default to UTF8, allow encoding to be specified.
  • Added example/asset.dart to show common case of SVG in an asset

[1.1.6] - September 2022 #

  • Update for Flutter 3.3 release (change in lints)

[1.1.5] - May 2022 #

  • Update dependencies for Flutter 3.0 release

[1.1.4] - April 2022 #

  • Support data: URLs for SVG and AVD files
  • Support loading AVD via http in widget
  • Fixed bug with rgb(x%, x%, x%) syntax for colors
  • Finished adding tests driven by code coverage analysis
  • ScalableImage.toSIBytes(): Always write latest file format version
  • Handle comma-separated class IDs in stylesheets

[1.1.3] - April 2022 #

  • implemented tspan tag
  • implemented style tag for inline CSS styles
  • Fix opacity attribute handling (use srcOver)
  • Support mix-blend-mode attribute
  • Implement clip-rule attribute
  • Implement text-decoration attribute
  • Made viewBox scaling preserve aspect ratio
  • Improved runtime memory efficiency with .si images: Path sharing
  • Ignore XML namespaces (treat "foo:name" like "name").
  • Fix skew transform (degrees, not radians).
  • Extend API with a function to call when there is a parser warning.
  • More robust handling of SVG files with errors

[1.1.2] - March 2022 #

  • Version number skipped (typo in pubspec.yaml).

[1.1.1] - March 2022 #

  • Added full set of CSS named colors
  • Fail more gracefully when use and mask elements have circular references
  • Minor cleanup: Declare ScalableImage as @immutable
  • More forgiving use tag: allow "href" instead of "xlink:href"
  • Fix rrect arcs when rx != ry
  • Fix SVG viewbox when width/height not set
  • Add symbol tag
  • Implement clipPath
  • Accept % for gradient stops, and fx/fy for radial gradients

[1.1.0] - March 2022 #

  • Implemented masks (SVG 1.1 mask element and mask attribute)
  • Implemented text-anchor attribute
  • Fixed text outline

[1.0.8] - January 2022 #

  • Make AVD parsing more forgiving (Issue 13)
  • Use width and height attribute in AVD file for scaling (Issue 14)
  • Add ScalableImage.fromAvdHttpUrl to API for completeness
  • Add tiger image to demo

[1.0.7] - October 30, 2021 #

  • Add ScalableImageCache (issue 6)
  • Require Flutter 2.5 / SDK 2.14 (Issue 9)
  • Change imageDisposeBugWorkaround default to clean up memory, now that Flutter bug is fixed (Issue 9)
  • Address issue 7 (relatively harmless race condition).
  • Enable persistent cache by exposing write method for compact images
  • Add demo of persistent cache in demo_hive

[1.0.6] - June 27, 2021 #

  • Library seems stable, so spinning a release because pub.dev wants a trivial dartfmt run, and I suppose this might influence the search algorithm.

[1.0.5] - June 21, 2021 #

  • Make default stop-color black in gradients (thanks, Jarle).
  • Add informative documentation about rendering performance.

[1.0.3] - update homepage for dart.dev listing, June 16, 2021 #

[1.0.2] - resolve dependency conflict, June 16, 2021 #

  • Back off version of args to 2.0.0, to eliminate conflict with flutter_launcher_icons

[1.0.1] - Cosmetic Issues, dart:io, June 15, 2021 #

  • Eliminated dependencies on dart:io, so that library will work on JS.
    • This did involve an API change, but the old version was on pub.dev for maybe an hour, so I'm not considering this a breaking change.
  • Ran dartfmt on bin directory

[1.0.0] - Initial Release, June 15, 2021 #

Initial release, after testing on a reasonable sample of SVG images believed to be representative.

202
likes
0
pub points
96%
popularity

Publisher

verified publisherjovial.com

SVG - Robust rendering of Scalable Vector Graphic images, supporting a well-defined profile of SVG and a fast-loading binary storage format.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, collection, flutter, http, jovial_misc, meta, vector_math, xml

More

Packages that depend on jovial_svg