Package 

Class ColorPickerDialogKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.