Skip to content

Commit

Permalink
Update to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
biocarl committed May 5, 2019
1 parent 6c78057 commit 2aac837
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGES

## 0.1.0
* Migration to stable version

## 0.0.9
* Fixes when using custom controller

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@

The rendering library exposes a central widget called `AnimatedDrawing` which allows to render SVG paths (via `AnimatedDrawing.svg`) or Flutter Path objects (via `AnimatedDrawing.paths`) in a drawing like fashion.

:construction: **This library is still at early-stage development and might be subject to breaking API changes!!!** :construction:

## Getting Started - AnimatedDrawing.svg
To get started with the `drawing_animation` package you need a valid Svg file.
Currently only simple path elements without transforms are supported (see [Supported SVG specifications](https://github.com/biocarl/drawing_animation#supported-svg-specifications))

1. **Add dependency in your `pubspec.yaml`**
```yaml
dependencies:
drawing_animation: ^0.0.9
drawing_animation: ^0.1.0

```

Expand Down
2 changes: 1 addition & 1 deletion README_pub.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Currently only simple path elements without transforms are supported (see [Suppo
1. **Add dependency in your `pubspec.yaml`**
```yaml
dependencies:
drawing_animation: ^0.0.9
drawing_animation: ^0.1.0

```

Expand Down
2 changes: 1 addition & 1 deletion example/example_02/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class SvgDrawingWithCustomControllerState
),
child: GestureDetector(
onTap: () => _startAnimation(),
behavior:HitTestBehavior.translucent,
behavior: HitTestBehavior.translucent,
//AnimatedDrawing with a custom controller
child: AnimatedDrawing.svg(
this.widget.assetName,
Expand Down
10 changes: 5 additions & 5 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ packages:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.0"
version: "1.4.0"
petitparser:
dependency: transitive
description:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.1"
version: "2.1.1"
pool:
dependency: transitive
description:
Expand Down Expand Up @@ -288,7 +288,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.5"
version: "1.5.4"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -379,7 +379,7 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "3.4.1"
version: "3.3.1"
yaml:
dependency: transitive
description:
Expand All @@ -388,5 +388,5 @@ packages:
source: hosted
version: "2.1.15"
sdks:
dart: ">=2.2.0 <3.0.0"
dart: ">=2.1.0 <3.0.0"
flutter: ">=0.7.3 <2.0.0"

0 comments on commit 2aac837

Please sign in to comment.