svg_painter 0.2.0 copy "svg_painter: ^0.2.0" to clipboard
svg_painter: ^0.2.0 copied to clipboard

A code generator that compiles SVG files into Flutter CustomPainter code.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add svg_painter

With Flutter:

 $ flutter pub add svg_painter

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  svg_painter: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:svg_painter/svg_painter.dart';
1
likes
160
points
149
downloads

Publisher

unverified uploader

Weekly Downloads

A code generator that compiles SVG files into Flutter CustomPainter code.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, code_builder, dart_style, meta, path, source_gen, svg_painter_annotation, xml

More

Packages that depend on svg_painter