FastChartLegend constructor

const FastChartLegend({
  1. Key? key,
  2. required List<FastChartData> data,
  3. bool isHorizontal = false,
  4. bool? showPercentage = false,
})

Implementation

const FastChartLegend({
  super.key,
  required this.data,
  this.isHorizontal = false,
  bool? showPercentage = false,
}) : showPercentage = showPercentage ?? false;