Skip to main content

hsluv 1.2.0 copy "hsluv: ^1.2.0" to clipboard
hsluv: ^1.2.0 copied to clipboard

Dart port of HSLuv, a human-friendly alternative to HSL based on human experiments.

1.2.0 #

  • Require Flutter 3.50+ / Dart 3.14+ (uses dart:ui floating-point Color channels, compatible with standalone material_ui and bundled Flutter apps).
  • Export HSLuvColor, extensions, ColorPicker, Contrast, and Geometry directly from package:hsluv/hsluv.dart.
  • Add HSLuvColor.fromRawColor, toRawHSLuv(), and round: option on HSLuvColor.fromColor / toHSLuv().
  • Fix ColorPicker.getPickerGeometry gamut polygon sampling.
  • Deprecate the bundled Flutter example in favor of Chroma Folio.

1.1.3 #

  • Update constraints to Flutter 2.19.

1.1.2 #

  • Remove not null assert, which is not necessary anymore.

1.1.1 #

  • Minor fixes related to null safety.

1.1.0 #

  • Add null safety.

1.0.6 #

  • Add addHue, addSaturation, addLightness, addHSLuv methods.

1.0.5+1 #

  • Fix lightness and saturation documentation. It was saying they range from [0, 1] instead of [0, 100].

1.0.5 #

  • Remove additional "(" in toString method from HSLuvColor.

1.0.4 #

  • Initial port of HSLuv with a nice sample app.
11
likes
150
points
2.87k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart port of HSLuv, a human-friendly alternative to HSL based on human experiments.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on hsluv