0 purchases
circle chart
circle_chart #
This is a library for creating an animated circle chart widget and add given other widget under the chart.
Installation #
Install the latest version from pub.
Getting Started #
Import the package:
import 'package:circle_chart/circle_chart.dart';
copied to clipboard
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),
]);
copied to clipboard
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
child: chart
)
],
),
),
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.