Skip to content
pubscout

gauge_chart

1.0.4, released 2 years ago by gmihai.com

A customizable circular gauge-style pie chart widget for Flutter.

WASM-ready
$ flutter pub add gauge_chart
Source repository

What it does

It renders a pie chart that can be displayed as a full or half circle, with adjustable gaps, start angle, colors, and optional text labels. The widget supports animation and a legend.

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

Use it when

  • You need a simple gauge or progress indicator without heavy dependencies
  • You want a half-circle or full-circle pie chart with custom colors and labels
  • You prefer a single widget that handles layout and animation internally

Skip it when

  • You require advanced chart interactions like zoom or tooltips
  • You need a highly performant chart for large datasets
  • You are already using a comprehensive chart library like syncfusion_flutter_charts

Strengths

  • Zero external dependencies
  • Supports half-circle display
  • Customizable gaps, start angle, colors, and text
  • Built-in animation and legend support

Weaknesses

  • Limited to pie/gauge style only
  • No support for line/bar charts
  • No advanced interaction features
  • No documentation on performance or large data handling

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add dependency to pubspec and import package

GaugeChart(
  children: [
    PieData(value: 10, color: Colors.blue, description: "Taken"),
    PieData(value: 4, color: Colors.blue.shade300, description: "Planned"),
    PieData(value: 14, color: Colors.grey, description: "To plan"),
  ],
  gap: 3.5,
  animateDuration: const Duration(seconds: 1),
  start: 180,
  displayIndex: 2,
  shouldAnimate: true,
  animateFromEnd: false,
  isHalfChart: true,
  size: 200,
  showValue: false,
  borderWidth: 25,
)

Alternatives

Packages that do the same job and could replace gauge_chart.