DataLabelTapCallback typedef Null safety

void DataLabelTapCallback(
  1. 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);