Skip to content
pubscout

circular_chart_flutter

0.0.5, released a year ago by an unverified publisher

Animated radial and pie charts for Flutter

WASM-ready
$ flutter pub add circular_chart_flutter
Source repository

What it does

Provides widgets to display animated circular charts, including pie and radial types. Users supply data entries and can update them to animate transitions.

AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Need animated circular charts without heavy dependencies
  • Want quick integration of pie or radial charts in a Flutter app
  • Prefer a simple API for chart data updates

Skip it when

  • Require advanced chart features like tooltips, legends, or custom animations beyond the provided options
  • Need cross-platform charting with extensive customization like other chart libraries

Strengths

  • Lightweight, no external dependencies
  • Easy to use API with GlobalKey for updates
  • Supports both pie and radial charts with animation

Weaknesses

  • Limited customization compared to larger chart libraries
  • No built-in support for legends, tooltips, or complex interactions
  • Documentation is minimal

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add dependency to pubspec and import package

import 'package:circular_chart_flutter/circular_chart_flutter.dart';

final GlobalKey<AnimatedCircularChartState> _chartKey = GlobalKey();

Widget build(BuildContext context) {
  return AnimatedCircularChart(
    key: _chartKey,
    size: const Size(300, 300),
    initialChartData: [
      CircularStackEntry(
        [
          CircularSegmentEntry(500.0, Colors.red[200]!, rankKey: 'Q1'),
          CircularSegmentEntry(1000.0, Colors.green[200]!, rankKey: 'Q2'),
        ],
        rankKey: 'Quarterly Profits',
      ),
    ],
    chartType: CircularChartType.Pie,
  );
}

Alternatives

Packages that do the same job and could replace circular_chart_flutter.