svg2dart 0.0.3
svg2dart: ^0.0.3 copied to clipboard
A command-line tool to convert SVG files into pure Dart code for Flutter, generating widgets that use CustomPainter for rendering.
Changelog #
0.0.3 #
- Add support for build_runner
0.0.2 #
- Add formatting and fixing functions for SVG output.
- Improve code generation.
0.0.1 #
- Initial release of the package.
- Converts SVG files to Flutter
CustomPainter
widgets. - Supports paths, fills, strokes, and basic gradients.
- Handles single files and entire directories.