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

A simple circular percent indicator with a customizable stroke and label.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'percent_indicator_circle.dart';


void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: const Color(0xFF002B5B),
        body: Center(
          child: PercentCircleIndicator(
            percent: 0.4,
            radius: 60,
            strokeWidth: 10,
            backgroundColor: Colors.blue[900]!,
            progressColor: Colors.orange,
            textStyle: const TextStyle(
              color: Colors.white,
              fontSize: 24,
              fontWeight: FontWeight.bold,
            ),
            animated: true,
            duration: const Duration(seconds: 1),
          ),
        ),
      ),
    );
  }
}
16
likes
0
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A simple circular percent indicator with a customizable stroke and label.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on percent_indicator_circle