ChartContextMenu constructor
const
ChartContextMenu({
- Key? key,
- ChartDataPoint? point,
- PieData? segment,
- int? datasetIndex,
- int? elementIndex,
- String? datasetLabel,
- required Offset position,
- ChartTheme? theme,
- bool useGlassmorphism = false,
- bool useNeumorphism = false,
- VoidCallback? onClose,
- VoidCallback? onViewDetails,
- VoidCallback? onExport,
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,
});