svg_painter_annotation 0.3.0 copy "svg_painter_annotation: ^0.3.0" to clipboard
svg_painter_annotation: ^0.3.0 copied to clipboard

Annotations for the svg_painter code generator, enabling compilation of SVGs into Flutter CustomPainters.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.3.0 - 2026-03-23 #

Changed #

  • SDK Support: Upgraded to Dart 3.11.3 and Flutter 3.41.5.
  • Style: Synchronized with official Flutter repository analysis_options.yaml.

0.2.0 - 2026-01-31 #

Added #

  • Added propertyMapping to @SvgPainter to allow renaming of generated properties (e.g. mapping fill1 to backgroundFill).
  • Added exposureMode to @SvgPainter to control how dynamic properties are exposed (none, id, indexed, mixed).

0.1.1 - 2026-01-26 #

Fixed #

  • Added example file for pub.dev documentation

0.1.0 - 2026-01-25 #

Added #

  • @SvgPainter annotation for marking classes for SVG code generation
  • SvgPainter.file() constructor for file-based SVG input
  • SvgPainter.code() constructor for inline SVG string input
1
likes
160
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations for the svg_painter code generator, enabling compilation of SVGs into Flutter CustomPainters.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

meta

More

Packages that depend on svg_painter_annotation