AnimatedCircularChart constructor
AnimatedCircularChart({
- Key? key,
- required Size size,
- required List<
CircularStackEntry> ? initialChartData, - CircularChartType chartType = CircularChartType.Radial,
- Duration duration = _kDuration,
- bool percentageValues = false,
- double? holeRadius,
- double startAngle = _kStartAngle,
- String? holeLabel,
- TextStyle? labelStyle,
- SegmentEdgeStyle edgeStyle = SegmentEdgeStyle.flat,
Implementation
AnimatedCircularChart({
Key? key,
required this.size,
required this.initialChartData,
this.chartType = CircularChartType.Radial,
this.duration = _kDuration,
this.percentageValues = false,
this.holeRadius,
this.startAngle = _kStartAngle,
this.holeLabel,
this.labelStyle,
this.edgeStyle = SegmentEdgeStyle.flat,
}) : assert(size != null),
super(key: key);