This is a library for creating an animated circle chart widget and add given other widget under the chart.
Install the latest version from pub.
Import the package:
import 'package:circle_chart/circle_chart.dart';
Create a CircleChart widget and use in your build method:
Widget chart = CircleChart(
progressNumber: 4,
maxNumber: 10,
children:
[
Icon(Icons.arrow_upward),
Text('This is kind of circle chart.',),
Text("This is kind of description",
style: Theme.of(context).textTheme.headline4),
]);
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
child: chart
)
],
),
),
);
}