Package-level declarations

Types

Link copied to clipboard
data class BottomNavigationItem(val title: String, val selectedIcon: ImageVector, val unselectedIcon: ImageVector, val hasNews: Boolean, val badgeCount: Int? = null)

Functions

Link copied to clipboard
fun DunkBuzzAppAppBar(currentScreenTitle: Int)

Composable function for the DunkBuzz top app bar.

Link copied to clipboard
@RequiresApi(value = 30)
fun DunkBuzzBottomAppBar(goTeams: () -> Unit, goMatches: () -> Unit)

Composable function for the DunkBuzz bottom app bar that provides navigation between Teams and Matches screens.

Link copied to clipboard
fun DunkBuzzNavigationRail(selectedDestination: NavDestination?, onTabPressed: (String) -> Unit, modifier: Modifier = Modifier)

Composable function for the navigation rail in the DunkBuzz app.

Link copied to clipboard
fun MatchItem(modifier: Modifier = Modifier, home_team_id: Int, home_team_name: String, home_team_score: Int, visitor_team_id: Int, visitor_team_name: String, visitor_team_score: Int, quarter: Int)

Composable function to display a match item card.

Link copied to clipboard
fun TeamItem(modifier: Modifier = Modifier, id: Int = 0, teamName: String = "", teamAbbreviation: String = "")

A composable function that displays a team item card. It shows the team's logo alongside its name and abbreviation. The logo image is dynamically retrieved based on the team ID provided.