onSelectedTabPressWhenNoScreensPushed property

Function? onSelectedTabPressWhenNoScreensPushed
final

Use it when you want to run some code when user presses the NavBar when on the initial screen of that respective tab. The inspiration was taken from the native iOS navigation bar behavior where when performing similar operation, you taken to the top of the list.

NOTE: This feature is experimental at the moment and might not work as intended for some.

Implementation

final Function? onSelectedTabPressWhenNoScreensPushed;