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

A customizable horizontal loading bar with animated color transitions.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Animated Loading Bar Example'),
        ),
        body: const Center(
          child: AnimatedLoadingBar(
            colors: [Colors.red, Colors.blue, Colors.green, Colors.purple],
            height: 10.0,
            duration: Duration(seconds: 2),
          ),
        ),
      ),
    );
  }
}
5
likes
160
points
56
downloads

Publisher

verified publisheramir-hamza.com

Weekly Downloads

A customizable horizontal loading bar with animated color transitions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_test

More

Packages that depend on animated_loading_bar