SettingsButtonOptions

data class SettingsButtonOptions(val onPress: () -> Unit, val icon: String = "settings", val size: Int = 40, val position: ButtonPosition = ButtonPosition.TOP_RIGHT, val backgroundColor: Int = 0x80000000.toInt(), val iconColor: Int = 0xFFFFFFFF.toInt(), val showBadge: Boolean = false, val badgeCount: Int = 0)

SettingsButton - Quick access button for opening settings.

Provides icon button that opens settings modal or menu.

Constructors

Link copied to clipboard
constructor(onPress: () -> Unit, icon: String = "settings", size: Int = 40, position: ButtonPosition = ButtonPosition.TOP_RIGHT, backgroundColor: Int = 0x80000000.toInt(), iconColor: Int = 0xFFFFFFFF.toInt(), showBadge: Boolean = false, badgeCount: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
val badgeCount: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onPress: () -> Unit
Link copied to clipboard
Link copied to clipboard
val showBadge: Boolean = false
Link copied to clipboard
val size: Int = 40