flutter_spinkit 1.0.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 49

✨ Flutter Spinkit #

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

🎖 Installing #

dependencies:
  flutter_spinkit:
      git:
        url: git://github.com/jogboms/flutter_spinkit

⚡️ Import #

import 'package:flutter_spinkit/flutter_spinkit.dart';

🎮 How To Use #

More info soon, but, so far.

SpinKitRotatingCircle(
  color: Colors.white,
  width: 50.0,
  height: 50.0,
);

🚀 Roadmap #


RotatingPlane

DoubleBounce

Wave

WanderingCubes

FadingFour

FadingCube

RotatingCircle

Pulse

ChasingDots

ThreeBounce

Circle

CubeGrid

FadingCircle

FoldingCube

Still unstable for now. Roadmap still has some unchecked items and a bit of clean up still very much neccessary. By the way, any helping hand whatsoever is still appreciated as well. 😊

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.

⭐️ License #

MIT License

example/lib/main.dart

import 'package:flutter/material.dart';

import './showcase.dart';
import './workspace.dart';

void main() => runApp(new App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'SpinKit Demo',
      debugShowCheckedModeBanner: false,
      theme: new ThemeData(
        brightness: Brightness.dark,
      ),
      home: new Scaffold(
        body: SafeArea(
          child: Stack(
            children: <Widget>[
              Align(
                child: LayoutBuilder(
                  builder: (context, _) {
                    return IconButton(
                      icon: Icon(Icons.play_circle_filled),
                      iconSize: 50.0,
                      onPressed: () {
                        Navigator.push(
                          context,
                          MaterialPageRoute(
                            builder: (BuildContext context) => ShowCase(),
                            fullscreenDialog: true,
                          ),
                        );
                      },
                    );
                  },
                ),
                alignment: Alignment.bottomCenter,
              ),
              Positioned.fill(
                child: Center(
                  child: WorkSpace(),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_spinkit: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_spinkit/flutter_spinkit.dart';
  
Version Uploaded Documentation Archive
3.1.0 Dec 28, 2018 Go to the documentation of flutter_spinkit 3.1.0 Download flutter_spinkit 3.1.0 archive
3.0.0 Nov 4, 2018 Go to the documentation of flutter_spinkit 3.0.0 Download flutter_spinkit 3.0.0 archive
2.1.0 Aug 31, 2018 Go to the documentation of flutter_spinkit 2.1.0 Download flutter_spinkit 2.1.0 archive
2.0.1 Jul 31, 2018 Go to the documentation of flutter_spinkit 2.0.1 Download flutter_spinkit 2.0.1 archive
2.0.0 Jul 19, 2018 Go to the documentation of flutter_spinkit 2.0.0 Download flutter_spinkit 2.0.0 archive
1.1.0 Jul 5, 2018 Go to the documentation of flutter_spinkit 1.1.0 Download flutter_spinkit 1.1.0 archive
1.0.0 Jul 5, 2018 Go to the documentation of flutter_spinkit 1.0.0 Download flutter_spinkit 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
99
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.