Skip to content

Commit

Permalink
demo 05 added
Browse files Browse the repository at this point in the history
  • Loading branch information
Klerith committed Sep 6, 2023
1 parent 0be51a6 commit 93c6c2b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
44 changes: 25 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ All of the following animations could be infinite with a property called ```infi
- SpinPerfect
- Swing

## Example Basic
## Example: 01-Basic

```
home: Scaffold(
Expand All @@ -114,10 +114,33 @@ home: Scaffold(
),
),
# Demos
For complete examples, check the ```example``` folder inside the repository
![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-00.gif "Animate_do demo-00")
![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-02.gif "Animate_do demo-02")
![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-04.gif "Animate_do demo-04")
![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-04.gif "Animate_do demo-05")
## Trigger animation manually (The easy way)
Just add the property animate to **true** to trigger the animation, and to **false** to revert the animation.
![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-03.gif "animate property")
```


## Example Basic #2 - Now with Toggle
## Example: 02-Basic - Now with Toggle
Just toggle the __animate__ property to animate in or out easily.
Check the full code inside the example folder
```
Expand Down Expand Up @@ -188,23 +211,6 @@ class Square extends StatelessWidget {



# Demos
For complete examples, check the ```example``` folder inside the repository

![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-00.gif "Animate_do demo-00")


![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-02.gif "Animate_do demo-02")

![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-04.gif "Animate_do demo-04")


## Trigger animation manually (The easy way)
Just add the property animate to **true** to trigger the animation, and to **false** to revert the animation.

![Animate_do demo animation](https://raw.githubusercontent.com/Klerith/animate_do_package/master/screenshots/demo-03.gif "animate property")




## Manual Trigger
Expand Down
Binary file added screenshots/demo-05.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93c6c2b

Please sign in to comment.