flutter_colorpicker icon indicating copy to clipboard operation
flutter_colorpicker copied to clipboard

HSL Picker should use HSLColor in internal usage.

Open DioboKN opened this issue 3 years ago • 4 comments

DioboKN avatar Nov 16 '21 09:11 DioboKN

Post your code, tell me what was expected and what was wrong.

mchome avatar Nov 16 '21 09:11 mchome

When I didn't slide to black and white, the lightness of the color was correct, but when I slid to black, it changed to black lightness.

ColorPickerSlider( TrackType.lightness, currentHsvColor, onColorChanging, displayThumbColor: true, ),

DioboKN avatar Nov 16 '21 09:11 DioboKN

Oh, based on the hsv converting, the saturation will reset to 0. This is expected behavier since it use HSVColor in internal.

mchome avatar Nov 16 '21 09:11 mchome

Ok.

DioboKN avatar Nov 16 '21 10:11 DioboKN