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

outdated

A Flutter plugin to show animated progress bar with customization styles.

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Animated ProgressBar Example'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Row(
                mainAxisAlignment: MainAxisAlignment.spaceAround,
                children: const [
                  SizedBox(
                      height: 150,
                      width: 150,
                      child: AnimatedProgressBar(
                        stroke: 20,
                        color: Colors.purple,
                        style: PaintingStyle.stroke,
                      )),
                  SizedBox(
                      height: 150,
                      width: 150,
                      child: AnimatedProgressBar(
                        stroke: 12,
                        style: PaintingStyle.stroke,
                      )),
                ],
              ),
              Row(
                mainAxisAlignment: MainAxisAlignment.spaceAround,
                children: const [
                  SizedBox(
                      height: 150,
                      width: 150,
                      child: AnimatedProgressBar(
                        stroke: 7,
                        color: Colors.cyan,
                        style: PaintingStyle.stroke,
                      )),
                  SizedBox(
                      height: 150,
                      width: 150,
                      child: AnimatedProgressBar(
                        color: Colors.orange,
                        style: PaintingStyle.fill,
                      )),
                ],
              )
            ],
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to show animated progress bar with customization styles.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on animated_progress_bar