animated_loading_indicators 0.0.1 copy "animated_loading_indicators: ^0.0.1" to clipboard
animated_loading_indicators: ^0.0.1 copied to clipboard

A collection of animated loading indicators with flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:animated_loading_indicators/loading_indicators.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Loading indicators demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text(
          "Demo",
        ),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            ClockLoader(
              frameColor: Colors.deepOrange,
              minuteColor: Colors.blue,
              hourColor: Colors.green,
            ),
            ClockLoader(
              size: 80,
              strokeWidth: 5,
              frameColor: Colors.deepOrange,
              minuteColor: Colors.blue,
              hourColor: Colors.green,
              duration: Duration(milliseconds: 1500),
            ),
            ThreeIconsLoading(
              icon: Icons.access_time_filled_sharp,
              iconColor1: Colors.red,
              iconColor2: Colors.black,
              iconColor3: Colors.blue,
              direction: Direction.up,
            ),
            ThreeIconsLoading(
              size: 25,
              icon: Icons.circle,
              iconColor1: Colors.red,
              iconColor2: Colors.yellow,
              iconColor3: Colors.green,
              duration: Duration(seconds: 1),
            ),
            FlipIcons(
              icon: Icons.camera,
              first: Colors.red,
              second: Colors.blue,
            ),
            FlipIcons(
              icon: Icons.home_outlined,
              icon2: Icons.home,
              first: Colors.green,
              second: Colors.amber,
              duration: Duration(seconds: 2),
              size: 50,
            ),
          ],
        ),
      ),
    );
  }
}
7
likes
150
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of animated loading indicators with flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on animated_loading_indicators