PieChart constructor
PieChart({
- Iterable<
ColorToken> ? colors, - bool donut = false,
- double donutRadius = 30,
- double sectionRadius = 60,
- PieLabelType labelType = PieLabelType.value,
- String? name,
- Object? visible,
Implementation
PieChart({
Iterable<ColorToken>? colors,
this.donut = false,
this.donutRadius = 30,
this.sectionRadius = 60,
this.labelType = PieLabelType.value,
String? name,
Object? visible,
}) : colors = List.unmodifiable(colors ?? const <ColorToken>[]),
super(name: name, visible: _normalizeVisibility(visible));