modulepackage
0.7.4
Repository: https://github.com/lusingander/colorpicker.git
Documentation: pkg.go.dev
# README
colorpicker
Color picker component for Fyne

Usage
picker := colorpicker.New(200 /* height */, colorpicker.StyleHue /* Style */)
picker.SetOnChanged(func(c color.Color) {
// called when the color is changed on the picker
fmt.Println(c)
})
// you can use it just like any other Fyne widget
fyne.NewContainer(picker)
Documentation
See pkg.go.dev
Example
colorpicker
You can see all the styles implemented.

colorpicker-popup
Example of embedding in Fyne's custom dialog.
colorpicker/cmd/colorpicker-popup/

# Packages
No description provided by the author
# Functions
New returns color picker container.
NewColorSelectModalRect returns a rectangle that can be tapped to open a color picker modal.
# Constants
StyleHue is style to display saturation-value area and vertical hue bar.
StyleHueCircle is style to display saturation-value area and circle hue bar.
StyleSaturation is style to display hue-value area and vertical saturation bar.
StyleValue is style to display hue-saturation area and vertical value bar.
# Interfaces
ColorPicker represents color picker component.
PickerOpenWidget represents a widget that can open a color picker.
# Type aliases
PickerStyle represents how the picker is displayed.