Viewing version 0.1.1. Open the latest package page.

path_drawing

0.1.1

A flutter library to help with (Canvas) Path creation and manipulation

Download archive

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

Planned for future release(s):

  • Dash paths
  • Trim paths
Changelog

CHANGELOG

  • 0.1.1: Fix bug in matrix translate logic
  • 0.1.0: Initial release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'path_drawing:0.1.1'
pubspec.yaml
name: path_drawing
version: 0.1.1
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"
  flutter:
    sdk: flutter

dev_dependencies:
  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:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies, 
  # see https://flutter.io/custom-fonts/#from-packages

Version history

VersionPublishedArchiveSHA-256
0.1.0On demandDownload9133276e…1c6d40
0.1.1Cached · Upstream SHA-256 matchedDownload86ee4512…a8e5a4
0.2.1Cached · Upstream SHA-256 matchedDownloadd9819952…f3f2c9
0.2.2Cached · Upstream SHA-256 matchedDownload9da3ee6a…798997
0.2.3Cached · Upstream SHA-256 matchedDownloadd7658a0f…6c2454
0.2.4Cached · Upstream SHA-256 matchedDownload4b289c3c…117987
0.3.0Cached · Upstream SHA-256 matchedDownload0b74eae7…e810ab
0.3.1Cached · Upstream SHA-256 matchedDownload360eb0e3…cc833b
0.4.0Cached · Upstream SHA-256 matchedDownload13fe8acf…fd3c46
0.4.1Cached · Upstream SHA-256 matchedDownloadf084d82f…9347db
0.4.1+1Cached · Upstream SHA-256 matchedDownloadb3dd74e2…9f03f3
0.5.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload073ff5cf…924e4a
0.5.0Cached · Upstream SHA-256 matchedDownload39cff9f4…e0fa93
0.5.0+1Cached · Upstream SHA-256 matchedDownload074db0c2…9636f2
0.5.1Cached · Upstream SHA-256 matchedDownloadb3e5edec…3bab19
0.5.1+1Cached · Upstream SHA-256 matchedDownload3bdd251d…afc8a2
1.0.0On demandDownloada1934736…9db551
1.0.1Cached · Upstream SHA-256 matchedDownloadbbb1934c…82f977

Dependencies

flutter { "sdk": "flutter" }

vector_math "\u003e=2.0.6 \u003c3.0.0"