DataLabelTapCallback typedef Null safety

DataLabelTapCallback = void Function(DataLabelTapDetails onTapArgs)

Signature for callback reporting that a data label is tapped.

Also refer onDataLabelTapped event and DataLabelTapDetails class.

Implementation

typedef DataLabelTapCallback = void Function(DataLabelTapDetails onTapArgs);