compact_color_picker 1.0.2 copy "compact_color_picker: ^1.0.2" to clipboard
compact_color_picker: ^1.0.2 copied to clipboard

A simple & clean color picker widget with opacity for Flutter. Designed to be powerful yet compact (mobile-first), suitable for all platforms!

1.0.2 #

  • Feature: Added optional showOpacity parameter to ColorPicker (defaults to true). Allows hiding the opacity slider and expands the color display.
  • Docs: Updated README.md example to demonstrate the new showOpacity feature.
  • Doc Fix Updated the pubspec.yaml to confine to Dart file convention description restrictions.
  • Fix: Updated Color extension methods (toHex, toHexAlpha) to use the non-deprecated r, g, b, a properties instead of red, green, blue, alpha.

1.0.1 #

  • Docs Updated the documentation with images and improved missing descriptions. 🦜

1.0.0 #

  • BREAKING: Made initialColor optional in ColorPicker, defaulting to Color(0xFFF3C50B).
  • Feature: Added onColorChanged callback to ColorPicker providing the selected Color.
  • Feature: Implemented interactive preview bubble for Hue, Saturation/Lightness, and Opacity sliders.
  • Feature: Added Color extension methods for Hex conversion (toHex, toHexHash, toHexAlpha, toHexHashAlpha).
  • Feature: Added optional showHexCode parameter to display the Hex code in the picker.
  • Fix: Optimized Hue slider gradient calculation.
  • Fix: Correctly implemented shouldRepaint in OpacityPainter.
  • Fix: Addressed various analyzer warnings (deprecated members, dead code, null checks).
  • Style: Added rounded corners to Hue (top) and Opacity (bottom-left) sliders.
  • Example: Created a dedicated example/ project demonstrating usage and features.
  • Docs: Updated README.md with features, usage examples, and contribution guidelines.

0.0.1 #

  • Initial experimental version.
2
likes
150
points
34
downloads

Publisher

verified publisherflexmans.com

Weekly Downloads

A simple & clean color picker widget with opacity for Flutter. Designed to be powerful yet compact (mobile-first), suitable for all platforms!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on compact_color_picker