Button

class Button(text: String, icon: Int? = null, action: () -> Unit)

Class representing the button inside a floating message class

Constructors

Link copied to clipboard
constructor(text: String, icon: Int? = null, action: () -> Unit)

Properties

Link copied to clipboard
var action: () -> Unit

Function0 button action

Link copied to clipboard
var icon: Int?

Int? optional button icon

Link copied to clipboard
val id: String

String button identifier

Link copied to clipboard

String button text

Functions

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