percent_circle 1.0.1
A Flutter widget for a customizable circular progress indicator with percentage or custom text display.
Percent Circle A customizable Flutter widget that displays a circular progress indicator with a percentage or custom text in the center. Features
Displays progress value between 0.0 and 1.0. Customizable progress and background colors. Adjustable size and stroke width. Option to display custom text instead of percentage. Customizable text style for the center text.
Installation Add this to your pubspec.yaml: dependencies: percent_circle: ^1.0.0
Run flutter pub get to install the package. Usage import 'package:percent_circle/percent_circle.dart';
PercentCircle( value: 0.75, // 75% progress progressColor: Colors.blue, backgroundColor: Colors.grey.shade200, size: 250.0, [we have to use the size parameter to set the size of the circle] strokeWidth: 10.0, customText: '75%', // Optional: custom text textStyle: TextStyle(fontSize: 24, color: Colors.blue), )
Example See the example folder for a sample app demonstrating the usage of PercentCircle. Contributing Contributions are welcome! Please open an issue or submit a pull request on GitHub. License MIT License