Navigation Tab

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

The NavigationTab data class represents the navigation tab used by the NavigationHelper to display the ItemScreen

Author

N7ghtm4r3 - Tecknobit

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

Constructors

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

Properties

Link copied to clipboard
val content: @Composable ColumnScope.(ItemScreen) -> Unit
Link copied to clipboard
val icon: ImageVector
Link copied to clipboard
val name: StringResource
Link copied to clipboard
Link copied to clipboard