Button

@Serializable
class Button(@DrawableRes val iconId: Int, val onClick: () -> Unit = {}) : DashSidebarControl

Constructors

Link copied to clipboard
constructor(@DrawableRes iconId: Int, onClick: () -> Unit = {})

Properties

Link copied to clipboard
val iconId: Int
Link copied to clipboard
val onClick: () -> Unit

Functions

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