just_color_picker 0.4.0
just_color_picker: ^0.4.0 copied to clipboard
A customizable HSV color picker with circular hue wheel, saturation-value panel, alpha slider, and color conversion utilities. No external dependencies.
0.4.0 #
- BREAKING: Remove input widgets (
HexInput,RgbInput,HslInput,ColorTextField) — the library now provides values and utilities instead of UI inputs - BREAKING: Remove
ColorPreviewandColorInfoPanelwidgets - BREAKING: Remove
ColorPickerInputThemeDataandColorFormatmodels - BREAKING: Remove
showHexInput,showColorInfo,showPreview,showRgbInput,showHslInput,inputThemeparameters fromJustColorPicker - BREAKING:
colorToHsl()now returns({double h, double s, double l, int a})(alpha added) - feat:
colorToRgb()— convert Color to({int r, int g, int b, int a})record - feat:
rgbToColor()— convert RGB components to Color
0.3.0 #
- feat:
RgbInputwidget — R/G/B/A individual input fields (0–255) - feat:
HslInputwidget — H/S/L/A individual input fields (H: 0–360, S/L: 0–100) - feat:
ColorTextField— reusable base input component with bidirectional sync and revert mechanism - feat:
ColorPickerInputThemeData— theme system for styling all input fields (text style, label style, decoration, cursor color, spacing, field width) - feat:
HslColorFormat— format colors ashsl(210, 65%, 47%)strings - feat:
hslToColor()/colorToHsl()conversion utilities - feat:
showRgbInput,showHslInput,inputThemeparameters onJustColorPicker - feat:
showHsl,themeparameters onColorInfoPanel - feat: Input theme preset selector (Default / Rounded / Minimal / Bold) in playground example
- refactor:
HexInputnow usesColorTextFieldinternally, acceptsthemeparameter
0.2.0 #
- feat:
ColorPickerType— switch betweenwheel(circular hue ring) andbar(linear hue bar + square SV panel) layouts via thetypeparameter - feat:
HueBarwidget — horizontal hue spectrum slider, usable standalone or throughJustColorPicker - feat: Interactive playground example app with real-time controls for all picker options
- refactor: Extract shared
paintThumb()helper andkHueColorsconstant across all painters - fix: Hue bar thumb no longer jumps to the left edge when dragged to the far right
0.1.0 #
- feat: HSV circular hue wheel with embedded SV (saturation-value) panel
- feat: Alpha slider with checkerboard transparency background
- feat: HEX color code input with bidirectional sync
- feat: HEX and RGB color info display
- feat: Uncontrolled (
initialColor) and controlled (color) modes - feat: Customizable wheel diameter, ring width, and thumb size
- feat: Toggle visibility of alpha slider, HEX input, color info, and preview