flex_color_picker icon indicating copy to clipboard operation
flex_color_picker copied to clipboard

Add feature to pick multiple colors

Open rydmike opened this issue 3 years ago • 2 comments

In some cases it might be useful to be able to pick multiple colors in one go and return them, maybe even with optional usage tags.

rydmike avatar Feb 09 '22 17:02 rydmike

Agree, Im actually searching for library that allows colors multiselect, but cannot find. I thought there is option in this library but this issue dispel doubts :(

throwyn avatar Apr 04 '22 22:04 throwyn

FlexColorPicker actually already does a sort of multi color init and return. The list of previous used colors, can be initialized, and it is returned too (so it can be saved and returned between app runs if so desired). The same mechanism is doable to also use for setting (or letting them be null) initial colors in a multi selection list of color boxes. Then you could in the picker select which one your are picking a color for at the moment, and return them all when done.

I think one could even allow a list of custom widgets to use as customizable labels for the colors being picked, plus a config if those label widgets are left, right, over, under or even inside the selected color box that one is picking the color for.

rydmike avatar Apr 06 '22 21:04 rydmike