onTap property

VoidCallback onTap
final

A callback function that is called when the tab is tapped.

Implementation

final VoidCallback onTap;