svg_path_parser

Creator: coderz1093

Last updated:

Add to Cart

Description:

svg path parser

svg_path_parser #


A Flutter/Dart utility to parse an SVG path into a equivalent Path object from dart:ui library.
Getting Started #
Add this to your package's pubspec.yaml file:
dependencies:
svg_path_parser: ^1.1.1
copied to clipboard
Now in your Dart code, you can use:
import 'package:svg_path_parser/svg_path_parser.dart';
copied to clipboard
You can use parseSvgPath() to parse a valid SVG path string to Path object;
Path path = parseSvgPath('m.29 47.85 14.58 14.57 62.2-62.2h-29.02z');
copied to clipboard
Examples #
View the example
folder to see an example (drawing flutter logo using svg paths).

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.