loading_animations 1.0.0 copy "loading_animations: ^1.0.0" to clipboard
loading_animations: ^1.0.0 copied to clipboard

outdated

A Flutter package with a selection of simple yet very customizable set of loading animations.

Flutter Loading Animations #

A simple yet very customizable set of loading animations for Flutter projects.

Installation #

Add the following to your pubspec.yaml file:

...
dependencies:
  ...
  loading_animations: "^1.0.0"
...

Then import the file to your project:

import 'package:loading_animations/loading_animations.dart';

How to use #

Choose a loading animation from the list:

  • FlipCircle
  • RotatingSquare
  • FlipBox
  • BouncingGrid

Then add the following code:

LoadingFlipCircle(
  color: Colors.blue,
);

Or you can customize it a bit:

LoadingFlipCircle(
  borderColor: Colors.cyan,
  size: 30.0,
);

Or customize it even more!

LoadingFlipCircle(
  borderColor: Colors.cyan,
  borderSize: 3.0,
  size: 30.0,
  backgroundColor: Colors.cyanAccent,
  duration: Duration(milliseconds: 500),
);

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

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

Examples #

For a more true experience of the animations and its variations, download the example project and run using flutter run --profile.

LoadingFlipCircle() LoadingRotatingSquare()
LoadingFlipBox() LoadingBouncingGrid()

Contribution #

Please feel free to:

  • ask questions
  • report issues and bugs
  • suggest code improvements
  • request new features

Create an issue or a pull request and I will be more than happy to review it and add to the project.

Thanks #

This project was heavily based on https://cssfx.dev/

If you like this package, dont forget to hit the ⭐️ button!

Thanks and happy coding 👻

263
likes
0
pub points
95%
popularity

Publisher

unverified uploader

A Flutter package with a selection of simple yet very customizable set of loading animations.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on loading_animations