circle_chart 1.0.0 copy "circle_chart: ^1.0.0" to clipboard
circle_chart: ^1.0.0 copied to clipboard

This is a library for creating an animated circle chart widget and add given other widget under the chart.

pub package

circle_chart #

This is a library for creating an animated circle chart widget and add given other widget under the chart.

drawing

Installation #

Install the latest version from pub.

Getting Started #

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
            )
          ],
        ),
      ),
    );
  }
19
likes
150
pub points
39%
popularity

Publisher

unverified uploader

This is a library for creating an animated circle chart widget and add given other widget under the chart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text, flutter

More

Packages that depend on circle_chart