FLUTTER ECOSYSTEM

masterashu/svg_path_parser

एक फ्लटर/डार्ट उपयोगिता जो एसवीजी मार्ग को डार्ट:यूआई पुस्तकालय से समतुल्य Path वस्तु में विश्लेषित करती है।

svg_path_parser प्रोजेक्ट कवर
Stars
19
Forks
5
अंतिम पुश (UTC)
3 दिस॰ 2023
प्रोजेक्ट स्थिति
सक्रिय
Ashutosh Chauhan GitHub avatar
GITHUB User

Ashutosh Chauhan ↗

Django | Flutter 💙 Developer. Love to try out new languages, frameworks and tools.

भाषाएँDartHTMLKotlinSwiftObjective-C

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 4 आइटम
  • string_scanner^1.1.0
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}
  • testडेवलपमेंट^1.16.5

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

svg_path_parser

Pub Version (including pre-releases) Flutter Test package

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.2

Now in your Dart code, you can use:

import 'package:svg_path_parser/svg_path_parser.dart';

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');

Examples

View the example folder to see an example (drawing flutter logo using svg paths).