Hi Yegor,
Greeting from Syncfusion.
We have invested your query. Since GestureDetector is a subtree widget for radial gauge, so tap event that used in Inkwell is handled by gauge widget. To avoid this, we recommend you to wrap the radial gauge widget inside the IgnorePointer widget and set its ignoring property as true to ignore the hit testing for gauge as shown in the below code example,
|
@override
Widget build(BuildContext context) {
return Scaffold(
body: Card(
child: InkWell(
onTap: () => print('Tap handled'),
child: AspectRatio(
aspectRatio: 2,
child: Center(
child: IgnorePointer(
ignoring: true,
child: SfRadialGauge()
),
)
)
)
),
);
} |
Regards,
Ramya S