flutter_spinkit 3.1.0 copy "flutter_spinkit: ^3.1.0" to clipboard
flutter_spinkit: ^3.1.0 copied to clipboard

outdated

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

example/lib/main.dart

import 'package:flutter/material.dart';

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

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

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SpinKit Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        brightness: Brightness.dark,
      ),
      home: 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<void>(
                            builder: (BuildContext context) => ShowCase(),
                            fullscreenDialog: true,
                          ),
                        );
                      },
                    );
                  },
                ),
                alignment: Alignment.bottomCenter,
              ),
              Positioned.fill(
                child: Center(
                  child: WorkSpace(),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
3916
likes
40
pub points
100%
popularity

Publisher

verified publisherogbomo.com

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_spinkit