circlify library
A Flutter package for creating customizable circular charts with smooth animations.
The main widget is Circlify, which renders a circular chart from a list of CirclifyItems. The chart automatically animates when items are added, removed, or their values change.
Example:
Circlify(
items: [
CirclifyItem(id: 'a', color: Colors.red, value: 30),
CirclifyItem(id: 'b', color: Colors.blue, value: 70),
],
segmentWidth: 40,
segmentSpacing: 5,
)
Classes
- Circlify
- A circular chart widget with smooth animations.
- CirclifyItem
- Represents a single segment in a Circlify chart.
- SegmentTapDetails
- Contains information about a tapped segment.
Typedefs
- SegmentTapCallback = void Function(SegmentTapDetails details)
- Callback signature for segment tap events.