Paint Color Palette
@Composable
Content copied to clipboard
PaintColorPalette provides a list of color palette. With SketchbookController it will take and apply the selected color to the Sketchbook automatically.
Parameters
modifier
Modifier to decorate the color palette.
controller
SketchbookController to bind Sketchbook.
color List
List of color-palette to show them as a row.
theme
A theme that has a collection parameters to customize PaintColorPalette.
initial Selected Index
Sets a selected index initially.
on Color Selected
Listener to track a selected Color.
content
Custom content to build the palette item.