Skip to content
pubscout

multiavatar

1.0.0, released 4 weeks ago by iheb.tech

Generates deterministic multicultural SVG avatars from a string.

WASM-ready
$ flutter pub add multiavatar
Source repository

What it does

Converts an input string into a unique SVG avatar using the Multiavatar algorithm. Supports optional transparent background and works entirely on‑device without network calls.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need deterministic, unique avatars for users or identicons without a backend
  • You want a lightweight, pure‑Dart solution that works on all Flutter platforms

Skip it when

  • You require raster image formats or built‑in widget rendering
  • You need extensive customization beyond the preset avatar styles

Strengths

  • Deterministic output for the same input
  • 12+ billion possible avatars
  • No network dependency, works offline
  • Supports transparent backgrounds

Weaknesses

  • Only provides raw SVG code, not a ready‑made widget
  • Limited styling/customization options
  • Relies on the crypto package for hashing

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
var svg = multiavatar('X-SLAYER');
var svgTransparent = multiavatar('X-SLAYER', trBackground: true);

Alternatives

Packages that do the same job and could replace multiavatar.

Works with

Packages commonly used together with multiavatar: ones it builds on, ones built on it, and its own family.