Skip to content

Commit

Permalink
Path fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
felixblaschke committed Aug 13, 2022
1 parent e3d0bed commit 813adee
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## 5.0.0+2

- Readme path fixes

## 5.0.0

If you come from 4.x, please look at [migration kit package for 4.x to 5.x upgrade](https://pub.dev/pub/sa4_migration_kit) for detailed description of breaking changes. That package also contain all original classes from 4.x to simplify the upgrade.
If you come from 4.x, please look at [migration kit package for 4.x to 5.x upgrade](https://pub.dev/packages/sa4_migration_kit) for detailed description of breaking changes. That package also contain all original classes from 4.x to simplify the upgrade.

- **New:** MovieTween (replaces MultiTween and TimelineTween)
- **Update:** Reworked the documentation
- **Breaking changes:** Builder classes got API changes to be closer to Flutter conventions. Old classes and behavior are still available via [migration kit package](https://pub.dev/pub/sa4_migration_kit).
- **Breaking changes:** Dropped TimelineTween. TimelineTween is still available via [migration kit package](https://pub.dev/pub/sa4_migration_kit).
- **Breaking changes:** Dropped MuliTween. MuliTween is still available via [migration kit package](https://pub.dev/pub/sa4_migration_kit).
- **Breaking changes:** Builder classes got API changes to be closer to Flutter conventions. Old classes and behavior are still available via [migration kit package](https://pub.dev/packages/sa4_migration_kit).
- **Breaking changes:** Dropped TimelineTween. TimelineTween is still available via [migration kit package](https://pub.dev/packages/sa4_migration_kit).
- **Breaking changes:** Dropped MuliTween. MuliTween is still available via [migration kit package](https://pub.dev/packages/sa4_migration_kit).

---

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class _MyWidgetState extends State<MyWidget> with AnimationMixin {

Helps you fine tuning the animation. It allows you to pause anywhere, scroll around, speed up, slow down or focus on a certain part of the animation.

![devtools](example/img/d1.gif)
![devtools](https://github.com/felixblaschke/simple_animations/raw/main/example/img/d1.gif)

[**Read guide**](#animation-developer-tools-guide)

Expand Down Expand Up @@ -928,7 +928,7 @@ final tween = MovieTween()

Creating complex tweens with multiple or staggered properties can be time consuming to create and maintain. I recommend using the [**Animation Developer Tools**](#animation-developer-tools) to streamline this process.

![devtools](example/img/d1.gif)
![devtools](https://github.com/felixblaschke/simple_animations/raw/main/example/img/d1.gif)

### Animation duration

Expand Down Expand Up @@ -1217,7 +1217,7 @@ class MyPage extends StatelessWidget {
```
<!-- // end of #code -->

![devtools](example/img/d1.gif)
![devtools](https://github.com/felixblaschke/simple_animations/raw/main/example/img/d1.gif)

#### Using Animation Mixin

Expand Down
26 changes: 13 additions & 13 deletions example/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This page contains several animation examples for each feature.

Animates the size of a square within a stateless widget.

![example1](img/s1.gif)
![example1](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s1.gif)

<!-- #code sa_flutter_app/lib/example/sa1.dart -->
```dart
Expand Down Expand Up @@ -70,7 +70,7 @@ class Page extends StatelessWidget {

This example demonstrates the usage of a child widget along with `PlayAnimationBuilder`.

![example2](img/s2.gif)
![example2](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s2.gif)

<!-- #code sa_flutter_app/lib/example/sa2.dart -->
```dart
Expand Down Expand Up @@ -107,7 +107,7 @@ class Page extends StatelessWidget {

This example demonstrates a non-linear animation. A pink square increases it's size. The `easeOut` curve applied to the animation makes it slow down at the end.

![example3](img/s3.gif)
![example3](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s3.gif)

<!-- #code sa_flutter_app/lib/example/sa3.dart -->
```dart
Expand Down Expand Up @@ -143,7 +143,7 @@ class Page extends StatelessWidget {

This example demonstrates an animation that waits for two seconds before it starts it's animation.

![example4](img/s4.gif)
![example4](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s4.gif)

<!-- #code sa_flutter_app/lib/example/sa4.dart -->
```dart
Expand Down Expand Up @@ -180,7 +180,7 @@ class Page extends StatelessWidget {

Animation that repeatly pops up a text.

![example5](img/s5.gif)
![example5](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s5.gif)

<!-- #code sa_flutter_app/lib/example/sa5.dart -->
```dart
Expand Down Expand Up @@ -216,7 +216,7 @@ class Page extends StatelessWidget {

This examples endlessly moves a green box from left to right.

![example6](img/s6.gif)
![example6](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s6.gif)

<!-- #code sa_flutter_app/lib/example/sa6.dart -->
```dart
Expand Down Expand Up @@ -256,7 +256,7 @@ class Page extends StatelessWidget {

Example of a pulsing square created with a fully configured `CustomAnimationBuilder` widget.

![example7](img/s7.gif)
![example7](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s7.gif)

<!-- #code sa_flutter_app/lib/example/sa7.dart -->
```dart
Expand Down Expand Up @@ -302,7 +302,7 @@ class Page extends StatelessWidget {

This example demonstrates the usage of `CustomAnimationBuilder` in a stateful widget.

![example8](img/s8.gif)
![example8](https://github.com/felixblaschke/simple_animations/raw/main/example/img/s8.gif)

<!-- #code sa_flutter_app/lib/example/sa8.dart -->
```dart
Expand Down Expand Up @@ -361,7 +361,7 @@ class _PageState extends State<Page> {

This example animates width, height and color of a box.

![example1](img/t1.gif)
![example1](https://github.com/felixblaschke/simple_animations/raw/main/example/img/t1.gif)

<!-- #code sa_flutter_app/lib/example/movietween1.dart -->
```dart
Expand Down Expand Up @@ -421,7 +421,7 @@ class MyApp extends StatelessWidget {

This example moves a box clockwise in a rectangular pattern.

![example2](img/t2.gif)
![example2](https://github.com/felixblaschke/simple_animations/raw/main/example/img/t2.gif)

<!-- #code sa_flutter_app/lib/example/movietween2.dart -->
```dart
Expand Down Expand Up @@ -477,7 +477,7 @@ class MyApp extends StatelessWidget {

This example combines aspects of the examples above, including chaining and multiple properties.

![example3](img/t3.gif)
![example3](https://github.com/felixblaschke/simple_animations/raw/main/example/img/t3.gif)

<!-- #code sa_flutter_app/lib/example/movietween3.dart -->
```dart
Expand Down Expand Up @@ -558,7 +558,7 @@ class MyApp extends StatelessWidget {

This example shows a complete app that uses `AnimationMixin` in a simple way.

![example1](img/a1.gif)
![example1](https://github.com/felixblaschke/simple_animations/raw/main/example/img/a1.gif)

<!-- #code sa_flutter_app/lib/example/am1.dart -->
```dart
Expand Down Expand Up @@ -617,7 +617,7 @@ class _MyAnimatedWidgetState extends State<MyAnimatedWidget>

This example uses 3 unique `AnimationController` instances to animate width, height and color independently.

![example1](img/a2.gif)
![example1](https://github.com/felixblaschke/simple_animations/raw/main/example/img/a2.gif)

<!-- #code sa_flutter_app/lib/example/am2.dart -->
```dart
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: simple_animations
description: Powerful package to create beautiful custom animations in no time.
version: 5.0.0
version: 5.0.0+2
homepage: https://github.com/felixblaschke/simple_animations

environment:
Expand Down

0 comments on commit 813adee

Please sign in to comment.