ColorPickerPaletteIcon

@Composable
fun ColorPickerPaletteIcon(modifier: Modifier, controller: SketchbookController, bitmap: ImageBitmap)

Basic color palette icon to show up color picker dialog and apply selected colors to SketchbookController. ColorPickerPaletteItem also can be used to header and footer for the PaintColorPalette.

Parameters

modifier

Modifier to decorate the color palette item.

controller

SketchbookController to be applied selected colors/

bitmap

ImageBitmap to be used for this icon.