onTap property

void Function()? onTap
final

onTap on tabItem will only work when itemChild list is empty, as itemChild will have their own onTap to work

Implementation

final void Function()? onTap;