onItemTap property
Called when one of the items
is tapped.
The stateful widget handles your page navigation by default, so no need to keep track of the index
Implementation
final Function(int)? onItemTap;
Called when one of the items
is tapped.
The stateful widget handles your page navigation by default, so no need to keep track of the index
final Function(int)? onItemTap;