ChartContextMenu constructor

const ChartContextMenu({
  1. Key? key,
  2. ChartDataPoint? point,
  3. PieData? segment,
  4. int? datasetIndex,
  5. int? elementIndex,
  6. String? datasetLabel,
  7. required Offset position,
  8. ChartTheme? theme,
  9. bool useGlassmorphism = false,
  10. bool useNeumorphism = false,
  11. VoidCallback? onClose,
  12. VoidCallback? onViewDetails,
  13. VoidCallback? onExport,
  14. VoidCallback? onShare,
})

Implementation

const ChartContextMenu({
  super.key,
  this.point,
  this.segment,
  this.datasetIndex,
  this.elementIndex,
  this.datasetLabel,
  required this.position,
  this.theme,
  this.useGlassmorphism = false,
  this.useNeumorphism = false,
  this.onClose,
  this.onViewDetails,
  this.onExport,
  this.onShare,
});