pub repository
mirror.p-hatan.irpath_drawing
0.3.0A flutter library to help with (Canvas) Path creation and manipulation
Readme
path_drawing
A Flutter library to assist with creating and manipulating paths.
Currently supports parsing a Path from an SVG path data string
(including normalizing the path commands to be amenable to Flutter's exposed
Path methods).
Dash paths has an initial implementation that relies on flutter 0.3.6 at a minimum.
Planned for future release(s):
- Trim paths
Changelog
CHANGELOG
0.3.0
- Split out parsing logic into separate package that does not depend on Flutter
- Consume latest version of package, which fixes bug in smooth curve parsing
0.2.x
- 0.2.4: Fix bug in exponent validation logic
- 0.2.3: Fix bugs in _decomposeCubic -
Offset.scaleandOffset.translaterelated - 0.2.2: Fix handling of null dashOffset
- 0.2.1: Add support for dashed paths, update docs
- 0.2.0: not published
0.1.x
- 0.1.1: Fix bug in matrix translate logic
- 0.1.0: Initial release
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add path_drawingpubspec.yaml
name: path_drawing
version: 0.3.0
description: >
A flutter library to help with (Canvas) Path creation and manipulation
author: Dan Field <dfield@gmail.com>
homepage: https://github.com/dnfield/flutter_path_drawing
dependencies:
vector_math: ">=2.0.6 <3.0.0"
meta: ">=1.1.2 <2.0.0"
path_parsing: ^0.1.2
flutter:
sdk: flutter
dev_dependencies:
path: ^1.5.1
test: ">=0.12.34 <1.0.0"
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
uses-material-design: true
environment:
sdk: ">=1.19.0 <3.0.0"
flutter: ">=0.3.6 <2.0.0"Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.1.0 | 2018-04-26T12:57:22.103733Z | Download | 9133276e43f20224ea5b9b7a9736eb3df0335f4f48dd29204cdd817c991c6d40 |
| 0.1.1 | 2018-04-26T16:27:28.503862Z | Download | 86ee4512a055c1ddd6984c2451ed4cb3b7e74e31f08ccde4c780825ea0a8e5a4 |
| 0.2.1 | 2018-05-08T17:58:18.149486Z | Download | d981995287a6ff987c110f2838703f165f60a2b6ddc73ccecb18c9ab43f3f2c9 |
| 0.2.2 | 2018-05-09T02:57:54.522998Z | Download | 9da3ee6a1062d2784a9423b2925fdeada314112adf2c3c8a6a560eda08798997 |
| 0.2.3 | 2018-05-14T03:17:32.250601Z | Download | d7658a0fd3b4711067f4835606345ab67aabf9181f1da60e5e1d4071866c2454 |
| 0.2.4 | 2018-07-02T12:16:25.867570Z | Download | 4b289c3c8c0822d675fe700fa3566dab23a135c0c63a846dd9d121f3db117987 |
| 0.3.0 | 2018-08-02T02:17:47.405103Z | Download | 0b74eae718349cb0a4fd453269bb4dd16b28131f2edc75eb8a546af4cae810ab |
| 0.3.1 | 2018-10-25T17:31:58.271629Z | Download | 360eb0e3555d98393a5623f86468a13eb5c38497e0a78fd229e8e657f1cc833b |
| 0.4.0 | 2018-11-03T07:03:23.978659Z | Download | 13fe8acf84fe6a9e4edb958924a219f684433a696eb4cefe9f818a46f2fd3c46 |
| 0.4.1 | 2019-05-07T02:20:47.488157Z | Download | f084d82ffbbf8b6f7557987929032fd5b9a9f8e8dc0ab72036591f50389347db |
| 0.4.1+1 | 2020-08-21T23:44:31.247554Z | Download | b3dd74e2210b2b71be3d3098b956dbab853ee43a86918b4bc20c9b9bd49f03f3 |
| 0.5.0-nullsafety.0 | 2020-11-12T20:21:49.822107Z | Download | 073ff5cfd5a16ce2fac24eacef1ce6f393e6a7286669307199ac366f82924e4a |
| 0.5.0 | 2021-04-06T23:14:54.924911Z | Download | 39cff9f4ac86a340cfc245848ce0a7c486d04bcbdba29d64557d01f175e0fa93 |
| 0.5.0+1 | 2021-10-08T21:04:00.544462Z | Download | 074db0c219ac01d1661e47283e8fb6fb1fc59989771165dddc6a73dc959636f2 |
| 0.5.1 | 2021-05-05T08:21:35.171971Z | Download | b3e5edec6981a3679e57061fe045176646ac2b3e9f88770262ef1ac3673bab19 |
| 0.5.1+1 | 2021-10-13T17:06:16.121416Z | Download | 3bdd251dae9ffaef944450b73f168610db7e968e7b20daf0c3907f8b4aafc8a2 |
| 1.0.0 | 2021-12-02T18:34:43.849680Z | Download | a19347362f85a45aadf6bdfa3c04f18ff6676c445375eecd6251f9e09b9db551 |
| 1.0.1 | 2022-08-04T00:38:48.321603Z | Download | bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977 |
Dependencies
flutter {
"sdk": "flutter"
}
meta "\u003e=1.1.2 \u003c2.0.0"
path_parsing "^0.1.2"
vector_math "\u003e=2.0.6 \u003c3.0.0"