jovial_svg 1.1.14
jovial_svg: ^1.1.14 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.14 April 2023 #
- Implement
usetag scaling asymbol(issue 54) - Allow specification of HTTP GET headers
1.1.13 April 2023 #
- Fix degree/radian confusion in path's arc (issue 51)
- Make the slightly more elegant
ScalableImageCache.addReferenceV2()
1.1.12 February 2023 #
- Made
ScalableImageWidgetfrom anSISourcemore robustly avoid flashing when SI is in cache. - Added
ifAvailableSyncparameter toScalableImageCache.addReference
1.1.11 February 2023 #
- Require Dart SDK 2.19 (issue 42)
1.1.10 January 2023 #
- Add
ScalableImageWidget.isComplex - Fix bug in ScalableImageWidget resulting in excessive repaint (issue 37)
- Expose scale/align logic via
ScalingTransform - Allow percentage units
- Add
currentColorparameter toScalableImageWidget
1.1.9 January 2023 #
- Add missing support for opacity attribute in style tags
- Add support for rgba colors
- Add support for CDATA
- Add support for comments in stylesheets
1.1.8 December 2022 #
- Add
emunits, 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.dartto 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
tspantag - implemented
styletag for inline CSS styles - Fix
opacityattribute handling (usesrcOver) - Support
mix-blend-modeattribute - Implement
clip-ruleattribute - Implement
text-decorationattribute - 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
useandmaskelements have circular references - Minor cleanup: Declare ScalableImage as
@immutable - More forgiving
usetag: allow "href" instead of "xlink:href" - Fix
rrectarcs whenrx != ry - Fix SVG
viewboxwhen width/height not set - Add
symboltag - Implement
clipPath - Accept % for gradient stops, and
fx/fyfor radial gradients
1.1.0 March 2022 #
- Implemented masks (SVG 1.1
maskelement andmaskattribute) - Implemented
text-anchorattribute - 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.fromAvdHttpUrlto 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.flutter-io.cn 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.4 Add github links for dart.dev listing, June 16, 2021 #
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.flutter-io.cn 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.