FastChartLegend constructor
const
FastChartLegend({
- Key? key,
- required List<
FastChartData> data, - bool isHorizontal = false,
- bool? showPercentage = false,
Implementation
const FastChartLegend({
super.key,
required this.data,
this.isHorizontal = false,
bool? showPercentage = false,
}) : showPercentage = showPercentage ?? false;