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

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(const App());

class App extends StatelessWidget {
  const App({Key? key}) : super(key: key);

  @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: Builder(
                  builder: (context) => IconButton(
                    icon: const Icon(Icons.play_circle_filled),
                    iconSize: 50.0,
                    onPressed: () => Navigator.of(context)
                        .push(MaterialPageRoute<void>(builder: (_) => const ShowCase(), fullscreenDialog: true)),
                  ),
                ),
                alignment: Alignment.bottomCenter,
              ),
              const Positioned.fill(child: Center(child: WorkSpace())),
            ],
          ),
        ),
      ),
    );
  }
}
4289
likes
140
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_spinkit