Search packages, repositories and app categories

flutter_spinkit cover
Package detailsv5.2.2

flutter_spinkit

A collection of loading indicators animated with flutter. Heavily inspired by @tobiasahlin's SpinKit.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
511K
Likes
4.7K
Pub points
140

Install package

flutter pub add flutter_spinkit

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

flutter_spinkit is a Flutter package providing a collection of customizable, animated loading indicators. Inspired by SpinKit, it offers a variety of visually appealing spinners and loaders suitable for different app contexts. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Each indicator is built with smooth animations using Flutter's rendering engine, ensuring consistent performance across devices. It’s ideal for showing loading states during data fetching, page transitions, or background tasks.

Use cases

  • Displaying loading states during API calls
  • Enhancing user experience during page transitions
  • Showing progress in background operations
  • Improving UI aesthetics with animated placeholders
  • Providing feedback during form submissions

Key features

  • Over 30 pre-built animated spinners
  • Highly customizable colors and sizes
  • Cross-platform compatibility
  • Lightweight and easy to integrate
  • Built-in animation controllers
  • Supports dark mode themes

Suitable for

  • Developers seeking ready-to-use loading indicators
  • Apps requiring consistent loading visuals
  • UI/UX designers focused on micro-interactions
  • Projects targeting multiple platforms
  • Prototyping rapid UI feedback states

Considerations

  • May increase bundle size with many indicators used
  • Custom animations require deeper knowledge of Flutter's animation system
  • Some indicators may not scale well on very small screens
  • Limited customization beyond basic properties
  • Not optimized for extremely high-frequency updates

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

✨ Flutter Spinkit

Format, Analyze and Test codecov pub package

A collection of loading indicators animated with flutter. Heavily inspired by @tobiasahlin's SpinKit.

🎖 Installing

dependencies:
  flutter_spinkit: ^5.2.2
⚡️ Import
import 'package:flutter_spinkit/flutter_spinkit.dart';

🎮 How To Use

const spinkit = SpinKitRotatingCircle(
  color: Colors.white,
  size: 50.0,
);
final spinkit = SpinKitFadingCircle(
  itemBuilder: (BuildContext context, int index) {
    return DecoratedBox(
      decoration: BoxDecoration(
        color: index.isEven ? Colors.red : Colors.green,
      ),
    );
  },
);
final spinkit = SpinKitSquareCircle(
  color: Colors.white,
  size: 50.0,
  controller: AnimationController(vsync: this, duration: const Duration(milliseconds: 1200)),
);

For more info, please, refer to the showcase.dart in the example.

🚀 Showcase


RotatingPlain

DoubleBounce

Wave

WanderingCubes

FadingFour

FadingCube

Pulse

ChasingDots

ThreeBounce

Circle

CubeGrid

FadingCircle

RotatingCircle

FoldingCube

PumpingHeart

HourGlass

PouringHourGlass

PouringHourGlassRefined

FadingGrid

Ring

Ripple

SpinningCircle

SpinningLines

SquareCircle

DualRing

PianoWave

DancingSquare

ThreeInOut

WaveSpinner

PulsingGrid

Some GIF images gotten from Android Spinkit.

🐛 Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

❗️ Note

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

☀️ Authors

Jeremiah Ogbomo

Ayush Agarwal

⭐️ License

MIT License

Categories

Source repository

Projects using this package