Navigation Tab

constructor(screen: ItemScreen, icon: ImageVector, name: StringResource, onFabClick: (ItemScreen) -> Unit = { screen.executeFabAction() }, content: @Composable ColumnScope.(ItemScreen) -> Unit = { screen.ShowContent() })

Parameters

screen

: the screen to display

icon

: the representative icon of the screen

name

: the name of the screen

onFabClick

: the action to execute when the FAB button is clicked

content

: the content of the screen to display