smart_progress_circle 0.0.5 smart_progress_circle: ^0.0.5 copied to clipboard
SmartProgressCircle is a customizable Flutter widget for displaying dynamic circular progress. Ideal for real-time updates in apps like fitness trackers and dashboards.
import 'package:flutter/material.dart';
import 'package:smart_progress_circle/smart_progress_circle.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
title: const Text('Smart Progress Circle'),
centerTitle: true,
),
body: Center(
child: CircularProgressBar(
minValue: 0,
maxValue: 10,
initialValue: 0,
icon: const Icon(
Icons.speed,
color: Colors.red,
),
calculationCriteria: 'Speed',
onChanged: (value) {
print("Current value is: $value");
}),
),
),
);
}
}