stac_svg 0.0.3 copy "stac_svg: ^0.0.3" to clipboard
stac_svg: ^0.0.3 copied to clipboard

A Stac widget parser for rendering SVG images in Flutter using the flutter_svg package, enabling server-driven SVG layouts.

0.0.3 #

  • Improved the docs

0.0.2 #

  • Improved package documentation for better pub.dev score.
  • Added a comprehensive example project.
  • Refined pubspec.yaml with better description and repository URLs.
  • Optimized JSON output by removing default/null values (reduced JSON size).
  • Made StacSvg properties nullable with defaults handled at parse time.
  • Improved stac build compatibility.

0.0.1 #

  • Initial release of stac_svg.
  • Support for multiple SVG source types: asset, network, and string.
  • Comprehensive support for flutter_svg properties:
    • src (Source path or content)
    • width & height
    • fit (using StacBoxFit)
    • alignment (using StacAlignment)
    • placeholder (Stac widget for loading state)
    • color & blendMode (for ColorFilter support)
    • matchTextDirection & allowDrawingOutsideViewBox
    • semanticsLabel & excludeFromSemantics
  • Integrated with stac build for Server-Driven UI generation.
  • Professional documentation and examples in README.md.
1
likes
150
points
197
downloads

Publisher

unverified uploader

Weekly Downloads

A Stac widget parser for rendering SVG images in Flutter using the flutter_svg package, enabling server-driven SVG layouts.

Repository (GitHub)
View/report issues

Topics

#ui #widget #server-driven-ui #dynamic-widgets #flutter-svg

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, json_annotation, stac, stac_core, stac_framework

More

Packages that depend on stac_svg