onTap property

void Function(LegendEntry entry, int index)? onTap
final

Callback when an entry is tapped.

Implementation

final void Function(LegendEntry entry, int index)? onTap;