AppChart constructor

const AppChart({
  1. Key? key,
  2. required AppChartType type,
  3. required List<AppChartData> data,
  4. String? title,
  5. double? height,
  6. double? width,
  7. EdgeInsetsGeometry? padding,
  8. List<Color>? colorPalette,
  9. bool showLabels = true,
  10. bool showLegend = true,
  11. bool showValues = true,
  12. bool animated = true,
})

Implementation

const AppChart({
  Key? key,
  required this.type,
  required this.data,
  this.title,
  this.height,
  this.width,
  this.padding,
  this.colorPalette,
  this.showLabels = true,
  this.showLegend = true,
  this.showValues = true,
  this.animated = true,
}) : super(key: key);