Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cytryn committed Nov 4, 2019
1 parent f784c07 commit f5345c9
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 10 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
## [2.1.0] - New Animations

### Animations

Added 4 more animations:
- Bouncing Line
- LoadingBouncingLine.circle()
- LoadingBouncingLine.square()
- Bumping Line
- LoadingBumpingLine.circle()
- LoadingBumpingLine.square()
- Fading Line
- LoadingFadingLine.circle()
- LoadingFadingLine.square()
- Jumping Line
- LoadingJumpingLine.circle()
- LoadingJumpingLine.circle()

### Example project

Added all the new animations to the example project.


## [2.0.0] - Renaming convention

### Breaking changes:
Expand Down
28 changes: 21 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the following to your `pubspec.yaml` file:
...
dependencies:
...
loading_animations: "^2.0.0"
loading_animations: "^2.1.0"
...
```

Expand All @@ -22,17 +22,31 @@ import 'package:loading_animations/loading_animations.dart';
## How to use

Choose a loading animation from the list:
### LoadingFlipping
### Flipping
- `LoadingFlipping.circle()`
- `LoadingFlipping.square()`
### LoadingRotating
### Rotating
- `LoadingRotating.square()`
### LoadingDoubleFlipping
### Double Flipping
- `LoadingDoubleFlipping.circle()`
- `LoadingDoubleFlipping.square()`
### LoadingBouncingGrid
### Bouncing Grid
- `LoadingBouncingGrid.circle()`
- `LoadingBouncingGrid.square()`
### Filling
- `LoadingFilling.square()`
### Fading Line
- `LoadingFadingLine.circle()`
- `LoadingFadingLine.square()`
### Bouncing Line
- `LoadingBouncingLine.circle()`
- `LoadingBouncingLine.square()`
### Jumping Line
- `LoadingJumpingLine.circle()`
- `LoadingJumpingLine.square()`
### Bumping Line
- `LoadingBumpingLine.circle()`
- `LoadingBumpingLine.square()`


Then add the following code:
Expand All @@ -59,15 +73,15 @@ LoadingFlipping.circle(
);
```

For more customization, please look inside the loading animaton files.
For more customization, please look inside the loading animation files.

Note: all the animations come ready to go just by calling `LoadingDoubleFlipping.square()`, for example.

Many basic animations contain `.circle()` and `.square()` variations by default.

## Examples

Note: the following gifs are not yet updated to reflect version 2.0.0
> Note: the following gifs are not yet updated to reflect version 2.1.0
For a more true experience of the animations and its variations, download the example project and run using `flutter run --profile`.

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0"
version: "2.1.0"
matcher:
dependency: transitive
description:
Expand Down
51 changes: 50 additions & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
archive:
dependency: transitive
description:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
args:
dependency: transitive
description:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.2"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -29,6 +43,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.3"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -39,6 +67,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
image:
dependency: transitive
description:
name: image
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.4"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -67,6 +102,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0+1"
petitparser:
dependency: transitive
description:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.0"
quiver:
dependency: transitive
description:
Expand Down Expand Up @@ -135,5 +177,12 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
xml:
dependency: transitive
description:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "3.5.0"
sdks:
dart: ">=2.2.2 <3.0.0"
dart: ">=2.4.0 <3.0.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: loading_animations
description: A Flutter package with a selection of simple yet very customizable set of loading animations.
version: 2.0.0
version: 2.1.0
author: Andre Cytryn <andre@cytryn.com.br>
homepage: https://github.com/cytryn/loading-animations
repository: https://github.com/cytryn/loading-animations
Expand Down

0 comments on commit f5345c9

Please sign in to comment.