onPressed property

VoidCallback? onPressed
final

Function to call when the tab is pressed.

Implementation

final VoidCallback? onPressed;