flutter_progress_status 0.0.5
flutter_progress_status: ^0.0.5 copied to clipboard
A simple widget that can be used to display progress status of a task, use the provided properties to customise the way you like.
import 'package:flutter/material.dart';
import 'package:flutter_progress_status/flutter_progress_status.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Progress Status Demo',
theme: ThemeData(primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false,
home: ExamplePage(),
);
}
}
class ExamplePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: ProgressStatus(
radius: 40,
strokeWidth: 10,
fillValue: 10,
backgroundColor: Colors.red,
fillColor: Colors.green,
),
),
);
}
}