path_drawing 0.4.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 93

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

0.4.0

  • Implement path trimming routine
  • Update example to demonstrate dash paths and trim paths.
  • Remove new keyword.

0.3.1

  • Consume updated version of parsing library
  • Fix layout to conform to newer Flutter package requirements.

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.scale and Offset.translate related
  • 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

example/README.md

example

A new Flutter project.

Getting Started

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  path_drawing: ^0.4.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:path_drawing/path_drawing.dart';
  
Version Uploaded Documentation Archive
0.4.0 Nov 3, 2018 Go to the documentation of path_drawing 0.4.0 Download path_drawing 0.4.0 archive
0.3.1 Oct 25, 2018 Go to the documentation of path_drawing 0.3.1 Download path_drawing 0.3.1 archive
0.3.0 Aug 2, 2018 Go to the documentation of path_drawing 0.3.0 Download path_drawing 0.3.0 archive
0.2.4 Jul 2, 2018 Go to the documentation of path_drawing 0.2.4 Download path_drawing 0.2.4 archive
0.2.3 May 14, 2018 Go to the documentation of path_drawing 0.2.3 Download path_drawing 0.2.3 archive
0.2.2 May 9, 2018 Go to the documentation of path_drawing 0.2.2 Download path_drawing 0.2.2 archive
0.2.1 May 8, 2018 Go to the documentation of path_drawing 0.2.1 Download path_drawing 0.2.1 archive
0.1.1 Apr 26, 2018 Go to the documentation of path_drawing 0.1.1 Download path_drawing 0.1.1 archive
0.1.0 Apr 26, 2018 Go to the documentation of path_drawing 0.1.0 Download path_drawing 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
85
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
93
Learn more about scoring.

We analyzed this package on Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.6
  • Flutter: 0.11.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
flutter 0.0.0
meta >=1.1.2 <2.0.0 1.1.6
path_parsing ^0.1.3 0.1.3
vector_math >=2.0.6 <3.0.0 2.0.8
Transitive dependencies
collection 1.14.11
sky_engine 0.0.99
typed_data 1.1.6
Dev dependencies
flutter_test
path ^1.5.1
test ^1.3.4