onChartTouchInteractionDown property
Occurs when touched on the chart area.
Widget build(BuildContext context) {
return Container(
child: SfPyramidChart(
onChartTouchInteractionDown: (ChartTouchInteractionArgs args){
print(args.position.dx.toString());
print(args.position.dy.toString());
}
));
}
Implementation
final PyramidTouchInteractionCallback? onChartTouchInteractionDown;