GestureDetector(
// behavior:HitTestBehavior(),
onTap: (){
print('hello word');
//print(gl);
// print(value.localPosition.dx);
},
child:
CustomPaint(
size: Size(setRawSize(600), setRawSize(290)),
foregroundPainter: FunnelPlotCustomPainter(
viewService.context,
color: Colors.blue,
funnelPoltData: fd
),
),
),
i use canvas to draw a funnel dirgram,but i can't click it.i am confused.