StackedChart constructor

const StackedChart({
  1. Key? key,
  2. required Size size,
  3. required List<ChartData<LabelData, num>> data,
  4. TextStyle? labelStyle,
  5. double buffer = 5,
  6. double barWidth = 15,
  7. bool showLabel = false,
  8. bool enableShadow = true,
  9. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceEvenly,
})

Implementation

const StackedChart(
    {Key? key,
    required this.size,
    required this.data,
    this.labelStyle,
    this.buffer = 5,
    this.barWidth = 15,
    this.showLabel = false,
    this.enableShadow = true,
    this.mainAxisAlignment = MainAxisAlignment.spaceEvenly})
    : super(key: key);