Navigation Tab
data class NavigationTab(val screen: Screen, val icon: ImageVector, val name: Int, val onFabClick: (Screen) -> Unit = {
screen.executeFabAction()
}, val content: @Composable ColumnScope.(Screen) -> Unit = {
screen.ShowContent()
})
The NavigationTab data class represents the navigation tab used by the NavigationHelper to display the Screen
Author
N7ghtm4r3 - Tecknobit
Parameters
screen
: the screen to display
icon
: the representative icon of the screen
name
: the name of the screen
on Fab Click
: 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: Screen, icon: ImageVector, name: Int, onFabClick: (Screen) -> Unit = {
screen.executeFabAction()
}, content: @Composable ColumnScope.(Screen) -> Unit = {
screen.ShowContent()
})