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

Generative gradient avatars for Flutter. A unique, deterministic mesh gradient for every seed - no stored images, no network. A 1:1 port of @outpacelabs/avatars.

0.0.1 #

Initial release: a 1:1 Dart port of @outpacelabs/avatars v0.2.1.

  • GradientAvatar widget - deterministic mesh-gradient avatars from any String or int seed, with configurable size and corner radius.
  • Pure palette engine (generatePalette, seedFromString, toSeed, GradientPalette, Harmony) that reproduces the original package's JavaScript arithmetic exactly - same seed, same colors, verified against golden palettes captured from the TypeScript package.
  • Render helpers: drawMeshGradient for custom painting, renderGradientImage for a blur-baked ui.Image, and gradientToPngBytes for encoded exports.
1
likes
160
points
65
downloads

Documentation

API reference

Publisher

verified publisherbirju.dev

Weekly Downloads

Generative gradient avatars for Flutter. A unique, deterministic mesh gradient for every seed - no stored images, no network. A 1:1 port of @outpacelabs/avatars.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradient_avatars