onHeadingSelected property
Callback function called when a heading is selected/clicked.
The callback receives the index of the selected heading.
Implementation
final Function(int index)? onHeadingSelected;
Callback function called when a heading is selected/clicked.
The callback receives the index of the selected heading.
final Function(int index)? onHeadingSelected;