flutter_spinkit 5.0.0 copy "flutter_spinkit: ^5.0.0" to clipboard
flutter_spinkit: ^5.0.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(),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
4303
likes
0
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

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_spinkit