Icon

data class Icon(val title: String, @DrawableRes val iconId: Int, val enabled: Boolean = true) : TabItem(source)

Icon TabItem allows tabs with Text and Icon.

Constructors

Link copied to clipboard
constructor(title: String, @DrawableRes iconId: Int, enabled: Boolean = true)

Properties

Link copied to clipboard
open override val enabled: Boolean

either if tab is enabled or not.

Link copied to clipboard
val iconId: Int

Resources object to query the image file from.

Link copied to clipboard
open override val title: String

localized Text that will show as Tab title.