Skip to main content

oklab_flutter 0.0.1 copy "oklab_flutter: ^0.0.1" to clipboard
oklab_flutter: ^0.0.1 copied to clipboard

Flutter integration for Oklab and Oklch color conversions.

0.0.1 #

  • Initial Flutter integration for Oklab:
    • Color.toOklab() and Color.toOklch() extensions.
    • colorFromOklab and colorFromOklch helpers.
    • toColor() extensions on OklabColor and OklchColor.
  • Added tests for:
    • Reference conversion behavior (Color -> OklabColor)
    • Achromatic hue behavior in Oklch conversion
    • RGBA round-trips within 8-bit tolerance
  • Added oklabLinearGradient helper to build LinearGradient values from Oklab colors using sampled perceptual interpolation.
1
likes
160
points
56
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter integration for Oklab and Oklch color conversions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, oklab

More

Packages that depend on oklab_flutter