-
- All Implemented Interfaces:
public final class ColorPickerDialogKt
-
-
Method Summary
Modifier and Type Method Description final static UnitColorPickerDialog(SketchbookController controller, MutableState<Boolean> expanded, Color backgroundColor, String selectText, Color initialColor, Function1<Color, Unit> onColorSelected)A color picker dialog to get a desired color from users. -
-
Method Detail
-
ColorPickerDialog
@Composable() final static Unit ColorPickerDialog(SketchbookController controller, MutableState<Boolean> expanded, Color backgroundColor, String selectText, Color initialColor, Function1<Color, Unit> onColorSelected)
A color picker dialog to get a desired color from users.
- Parameters:
controller- SketchbookController to notify color selected.expanded- Indicates expanding dialog or not.backgroundColor- A background color of the dialog.selectText- Text for the select button.onColorSelected- A color selected listener.
-
-
-
-