ltk

Function color_picker

Source
pub fn color_picker<Msg: Clone + 'static>(value: Color) -> ColorPicker<Msg>
Expand description

Create a ColorPicker starting from the given colour.

color_picker( self.accent )
    .show_alpha( true )
    .on_change( Msg::AccentChanged )