NavItem

private data class NavItem(val screen: Screen, val selectedIcon: Painter, val unselectedIcon: Painter? = null, val hasNews: Boolean, val size: Dp = 30.dp)

An abstraction over Screen. Specially to aid in the transformation of the icons. The Painter type is used to support Image and Vector resources (.png and .xml) and ImageVectors

Constructors

Link copied to clipboard
constructor(screen: Screen, selectedIcon: Painter, unselectedIcon: Painter? = null, hasNews: Boolean, size: Dp = 30.dp)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Dp
Link copied to clipboard
val unselectedIcon: Painter? = null

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean