Created
March 4, 2023 12:06
-
-
Save Simba-97/3a9ccedc56a3a6e95bce828998b32129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed class BottomBarScreen( | |
val title: String, | |
val icon: ImageVector, | |
val description: String, | |
val page: Int | |
) { | |
object Home : BottomBarScreen( | |
title = "Home", | |
icon = Icons.Default.Home, | |
description = "Home description", | |
page = 0 | |
) | |
object Profile : BottomBarScreen( | |
title = "Profile", | |
icon = Icons.Default.Person, | |
description = "Profile description", | |
page = 1 | |
) | |
object Settings : BottomBarScreen( | |
title = "Settings", | |
icon = Icons.Default.Settings, | |
description = "Settings description", | |
page = 2 | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment