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

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

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:percent_indicator_circle/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.2,
            radius: 80,
            strokeWidth: 10,
            backgroundColor: Colors.yellow[900]!,
            progress: Colors.red,
            textStyle: const TextStyle(
              color: Colors.white,
              fontSize: 24,
              fontWeight: FontWeight.bold,
            ),
            animated: true,
            duration: const Duration(seconds: 1),
          ),
        ),
      ),
    );
  }
}
11
likes
130
points
265
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on percent_indicator_circle