smart_progress_circle 0.0.1 smart_progress_circle: ^0.0.1 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(
home: Scaffold(
appBar: AppBar(
title: const Text('Smart Progress Circle'),
centerTitle: true,
),
body: const Center(
child: CircularProgressBar(
minValue: 0,
maxValue: 10,
initialValue: 0,
icon: Icon(
Icons.speed,
color: Colors.red,
),
calculationCriteria: 'Speed',
),
),
),
);
}
}