CustomPictographChart constructor

const CustomPictographChart({
  1. Key? key,
  2. required List<PictographData> data,
  3. String? title,
  4. Color backgroundColor = Colors.white,
  5. TextStyle? textStyle,
  6. bool showLabels = true,
  7. bool showValues = true,
  8. EdgeInsets padding = const EdgeInsets.all(20),
  9. double iconSize = 24,
  10. double valuePerIcon = 10,
  11. int maxIconsPerRow = 10,
})

Implementation

const CustomPictographChart({
  super.key,
  required this.data,
  this.title,
  this.backgroundColor = Colors.white,
  this.textStyle,
  this.showLabels = true,
  this.showValues = true,
  this.padding = const EdgeInsets.all(20),
  this.iconSize = 24,
  this.valuePerIcon = 10,
  this.maxIconsPerRow = 10,
});