clock_loader 0.0.3 copy "clock_loader: ^0.0.3" to clipboard
clock_loader: ^0.0.3 copied to clipboard

A clock loader which you can use to display a smooth and great loading effect.

example/lib/main.dart

import 'package:clock_loader/clock_loader.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const ClockLoaderPage(),
    );
  }
}

class ClockLoaderPage extends StatefulWidget {
  const ClockLoaderPage({Key? key}) : super(key: key);

  @override
  State<ClockLoaderPage> createState() => _ClockLoaderPageState();
}

class _ClockLoaderPageState extends State<ClockLoaderPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: const Color(0xFFff5558),
        child: ClockLoader(
          clockLoaderModel: ClockLoaderModel(
            shapeOfParticles: ShapeOfParticlesEnum.circle,
            mainHandleColor: Colors.grey.shade100,
            particlesColor: Colors.grey.shade100,
          ),
        ),
      ),
    );
  }
}
58
likes
120
pub points
72%
popularity

Publisher

verified publishermindinventory.com

A clock loader which you can use to display a smooth and great loading effect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on clock_loader