onPressed property
(void Function()?)
onPressed
final
Called when the tab is pressed.
Implementation
final void Function()? onPressed;
Called when the tab is pressed.
final void Function()? onPressed;