Categorygithub.com/lusingander/colorpicker
repositorypackage
0.7.4
Repository: https://github.com/lusingander/colorpicker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GitHub release (latest SemVer) PkgGoDev Go Report Card GitHub

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/cmd/colorpicker/


colorpicker-popup

Example of embedding in Fyne's custom dialog.

colorpicker/cmd/colorpicker-popup/