Package com.vanpra.composematerialdialogs.color

Types

ARGBPickerState
Link copied to clipboard
data class ARGBPickerState

Defines the behaviour of ARGB Picker

ColorPalette
Link copied to clipboard
object ColorPalette

Object used to store common colors and subColors that can be used with colorChooser Credit for the color schemes goes to "Aidan Follestad" as stated at the top of this file

Functions

colorChooser
Link copied to clipboard
@Composable
fun MaterialDialogScope.colorChooser(colors: List<Color>, subColors: List<List<Color>> = listOf(), initialSelection: Int = 0, argbPickerState: ARGBPickerState = ARGBPickerState.None, waitForPositiveButton: Boolean = true, onColorSelected: (Color) -> Unit = {})