svg_path_transform 1.1.3 svg_path_transform: ^1.1.3 copied to clipboard
Pure dart library for parsing and manipulating SVG paths, such as rotating, translating, etc.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add svg_path_transform
With Flutter:
$ flutter pub add svg_path_transform
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
svg_path_transform: ^1.1.3
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_path_transform/svg_path_transform.dart';