full_svg_flutter 1.0.3
full_svg_flutter: ^1.0.3 copied to clipboard
Animated SVG renderer for Flutter with SMIL, CSS keyframes, filters, path morphing, playback control, and flutter_svg-compatible API.
1.0.3 #
- Fix
<image>aspect ratio: when onlywidthorheightis specified, the missing dimension is now computed proportionally from the image's intrinsic size. Previously, the raw pixel dimension was used, causing images placed with a single size attribute to shift position and appear at incorrect scale. - Fix
background-colorclipping withclipToViewBox=true: the SVG rootbackground-colorstyle was drawn before the viewBox clip was applied, causing it to fill the entire widget instead of being bounded by the SVG viewport. It is now drawn inside the transformed and clipped canvas context, matching browser behaviour. - Add
clipToViewBoxtoggle (defaulttrue) to the example playground, so SVG content that overflows the viewBox boundary is clipped by default — matching how browsers display SVG files opened directly. - Fix playground SVG proportions: preview width and height are now derived from the SVG
viewBoxaspect ratio instead of forcing a square container, so portrait or landscape SVGs display at correct proportions.
1.0.2 #
- Add native
file://URI support for<image>elements: local files load viadart:ioon all non-web platforms. Web stub returns null gracefully. - Improve pub.dev package description and topics for animated SVG discoverability.
- Rewrite README: clear animated-SVG positioning, comparison table, migration guide, SVGator notes, FAQ, and supported-features matrix.
- Add
docs/directory: migration guide, feature compatibility matrix, limitations, and SEO notes. - Add marketing article drafts in
docs/marketing/.
1.0.1 #
- Fix filter rendering on
<g>groups: filters applied to<g>elements with no opacity or blend-mode were silently discarded. Now correctly opens asaveLayerwith the filter, improving fidelity for SVGs that animate filter primitives on groups. - Fix SMIL sandwich model for multiple animations targeting the same attribute: additive animations no longer double-stack when chained via
computeRawValue+applyAdditiveWithBase. - Add
clipToViewBoxoption toAnimatedSvgPictureandAnimatedSvgPainter: opt-in strict viewBox clipping to match browser direct-URL rendering behaviour (defaults tofalsefor backward compatibility). - Widen
xmldependency constraint from^6.0.0to>=6.0.0 <8.0.0to support xml 7.x. - Fix deprecated
FontWeight.indexusage — replaced withFontWeight.value.
1.0.0 #
- Initial release of
full_svg_flutter— a comprehensive SVG rendering library for Flutter.