onTap property
Click event notification pipe exposing the zero-based list tracking index of the interacted element.
Implementation
final void Function(int selectedIndex)? onTap;
Click event notification pipe exposing the zero-based list tracking index of the interacted element.
final void Function(int selectedIndex)? onTap;