Function cosmic::widget::color_picker::color_button
source ยท pub fn color_button<'a, Message: 'static>(
on_press: Option<Message>,
color: Option<Color>,
icon_portion: Length,
) -> Button<'a, Message>
Expand description
A button for selecting a color from a color picker.