Giter Site home page Giter Site logo

zainurrehmankhan / easy_loading_animations Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 215 KB

A collection of smart loading animations with no extra dependency written in pure dart.

License: Apache License 2.0

Kotlin 0.36% Swift 1.51% Objective-C 0.05% Dart 44.18% CMake 19.75% C++ 27.16% C 1.85% HTML 5.14%

easy_loading_animations's Introduction

Easy Loading Animations Pub

A collection of smart loading animations for your flutter projects which you can customize, these animations are written in pure dart and don't need any extra dependency.

Installation

Add the following to your pubspec.yaml file:

...
dependencies:
  ...
  easy_loading_animations: "^1.0.0"
...

Then import the file to your project:

import 'package:easy_loading_animations/easy_loading_animations.dart';

Demo

How to use

Choose a loading animation from the list:

Barcode Loader

  • BarcodeLoader()

Circular Pulse

  • CircularPulse()

Circular Spiral

  • CircularSpiral({type: CircularSpiralType.simple})
  • CircularSpiral({type: CircularSpiralType.heavy})

Fancy Plus

  • FancyPlus()

Future Dots

  • FutureDots()

Spinning Square

  • SpinningSquare()

Bouncing Dots

  • BouncingDots()

Then add the following code:

CircularSpiral(
  color: Colors.blueGrey,
);

Or you can customize it a bit:

CircularSpiral(
  borderColor: Colors.cyan,
  size: 40,
);

Or customize it even more!

CircularSpiral(
  color: Colors.blueGrey,
  size: 40,
  type: CircularSpiralType.heavy,
  duration: Duration(milliseconds: 500),
);

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

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

Animations can have multiple types like CircularSpiral() have simple and heavy variants, from which simple is default.

Contribution

Please feel free to:

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

Want to contribute? Great just three steps to follow!

  • Fork this repository
  • Create a branch, do changes
  • Create an issue or a pull request

I will be more than happy to review it and add to the project.

Thanks

If you like this package, dont forget to hit the ⭐️ Star button and follow me for more packages!

License

Free Software, Hell Yeah!

easy_loading_animations's People

Contributors

zainurrehmankhan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.