onLegendTapped property Null safety

ChartLegendTapCallback? onLegendTapped
final

Occurs when the legend is tapped ,using this event the legend tap arguments can be customized.

Implementation

final ChartLegendTapCallback? onLegendTapped;