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

Overview

Flutter Loading Animations Pub

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

Installation

Add the following to your pubspec.yaml file:

...
dependencies:
  ...
  loading_animations: "^2.1.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:

Flipping

  • LoadingFlipping.circle()
  • LoadingFlipping.square()

Rotating

  • LoadingRotating.square()

Double Flipping

  • LoadingDoubleFlipping.circle()
  • LoadingDoubleFlipping.square()

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:

LoadingFlipping.circle(
  color: Colors.blue,
);

Or you can customize it a bit:

LoadingFlipping.square(
  borderColor: Colors.cyan,
  size: 30.0,
);

Or customize it even more!

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

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.1.0

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 πŸ‘»

You might also like...

πŸ”” A flutter package to create cool and beautiful text animations. [Flutter Favorite Package]

πŸ””  A flutter package to create cool and beautiful text animations. [Flutter Favorite Package]

Animated Text Kit A flutter package which contains a collection of some cool and awesome text animations. Recommended package for text animations in C

Jan 6, 2023

A simple widget for animating a set of images with full custom controls as an alternative to using a GIF file.

image_sequence_animator A simple widget for animating a set of images with full custom controls as an alternative to using a GIF file. If you have a G

Jan 5, 2023

Fantastic App Created by Very Good CLI

Fantastic App Generated by the Very Good CLI πŸ€– A Very Good Project created by Very Good CLI. Getting Started πŸš€ This project contains 3 flavors: deve

Jul 9, 2022

Flutter package for creating awesome animations.

Flutter package for creating awesome animations.

🎬 Simple Animations Simple Animations is a powerful package to create beautiful custom animations in no time. πŸ’ͺ fully tested πŸ“ well documented πŸ’Ό e

Dec 31, 2022

A flutter package that adds support for vector data based animations.

animated_vector Description and inspiration A package that adds support for vector data based animations. The data format is heavily inspired from the

Apr 26, 2022

A package to create nice and smooth animations for flutter

A package to create nice and smooth animations for flutter

animation_director A package to create nice and smooth animations for flutter Introduction A simple package to build beautiful and smooth animations f

Nov 28, 2022

β˜€οΈ A Flutter package for some material design app intro screens with some cool animations.

β˜€οΈ A Flutter package for some material design app intro screens with some cool animations.

IntroViews is inspired by Paper Onboarding and developed with love from scratch. Checkout our fully responsive live example app. Table of contents Fea

Dec 30, 2022

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.

Lottie for Flutter Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and rende

Jan 2, 2023

A flutter package which will help you to generate pin code fields with beautiful design and animations

A flutter package which will help you to generate pin code fields with beautiful design and animations

A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs πŸ€“ πŸ€“

Dec 23, 2022
Comments
  • Request to Add Product in Start Flutter

    Request to Add Product in Start Flutter

    Hello, I am Maheshwari from team GeekyAnts.

    On behalf of Start Flutter, we add open source products which we find helpful to the community & also we provide credits to author itself.

    Let me know if you are interested showcase your product in our open source website.

    If yes, then I request you to add MIT Licence in your repo.

    Looking forward to hear from you.

    question wontfix 
    opened by maheshwari-1153 2
  • Decide better naming convention

    Decide better naming convention

    Decide if it's better to name animations after the animation or the object being animated.

    Deciding on the animation we would have:

    • FlippingShape (which includes a parameter to render a circle or a rectangle)

    Deciding on the shape we would have:

    • FlippingCircle and FlippingSquare, but that would possibly increase the generated code.
    enhancement 
    opened by cytryn 1
  • Naming convention; Separate tab files; Documentation on parameters

    Naming convention; Separate tab files; Documentation on parameters

    Decided to go with name that focus on the intention of the animation, rather than its shape. Closes #2

    Separated the example code into different tabs so it is easier to understand and maintain. Closes #3

    Documented all the parameters on the animation files. Closes #1

    opened by cytryn 0
Releases(v2.2.0)
Owner
Andre Cytryn
Andre Cytryn
Loading widget based on a Flare animation, allow you to create beautiful custom loading widgets or dialogs

flare_loading Loading widget based on a Flare animation, allow you to create custom loading widgets or dialogs If you're using Rive instead of Flare p

Jimmy Aumard 25 Apr 16, 2021
A set of transition patterns within the animations package using flutter.

Flutter Motion Transitions A fultter app to demonstrate Material motion system. Material Motion System The four main Material transition patterns are

Rafsan Ahmad 17 Oct 13, 2022
Android loading animations

Android-SpinKit Android loading animations(I wrote a android edition according SpinKit) Demo Apk Preview Gradle Dependency dependencies { implement

ybq 8.4k Dec 30, 2022
A collection of awesome loading animations

NVActivityIndicatorView ⚠️ Check out LoaderUI (ready to use with Swift Package Mananger supported) for SwiftUI implementation of this. ?? Introduction

Vinh Nguyen 10.3k Jan 3, 2023
Delightful, performance-focused pure css loading animations.

Loaders.css Delightful and performance-focused pure css loading animations. What is this? See the demo A collection of loading animations written enti

Connor Atherton 10.2k Jan 2, 2023
Set of basic geometric animations using Flutter available as Android App gallery

#ui, #animations, #geometry, #flutter aria Set of basic geometric animations usi

lask 22 Nov 27, 2022
A new Flutter dialog with a series of beautiful animations, slide fade rotate size scale rotate3D animations.

flutter_animated_dialog A new Flutter dialog with a series of beautiful animations, slide fade rotate size scale rotate3D animations. Dialog barrier i

null 20 Dec 3, 2022
Create powerful animations in Flutter and use the hero animation for complex animations

Hero Animation - Locations UI - Flutter Create powerful animations in Flutter and use the hero animation for complex animations. ⚑  Social Media  Twit

null 3 Dec 11, 2021
Simple to use yet powerfull style widgets with syntax inspired by CSS.

Division Simple to use yet powerfull style widgets with syntax inspired by CSS. Please check out styled_widget which is a replacement of Division! The

Rein Gundersen Bentdal 266 Nov 20, 2022
A simple custom loading indicator package.

custom_loading_indicator A Flutter package to customise the loading indicators with your organisation's logo. Let's say you're a dentist and your app

Harshad Manglani 3 Aug 10, 2020