path_drawing 0.4.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 98

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


0.4.1 #

  • Consume latest path_parsing version.

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 #

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:

  path_drawing: ^0.4.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub 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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 25, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5


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.8
path_parsing ^0.1.4 0.1.4
vector_math >=2.0.6 <3.0.0 2.0.8
Transitive dependencies
collection 1.14.11 1.14.12
sky_engine 0.0.99
typed_data 1.1.6
Dev dependencies
path ^1.5.1
test ^1.3.4