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