Search packages, repositories and app categories

Package detailsv1.1.0

avataaars

An avatar generator for anyone to make their beautiful personal avatar easily!

AndroidiOSWebmacOSWindowsLinux
30-day downloads
241
Likes
29
Pub points
150

Install package

flutter pub add avataaars

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Avataaars is a Flutter package that enables easy creation of customizable, stylized avatars for users. It provides a wide range of options including facial features, hair styles, accessories, and clothing, allowing individuals to generate unique personal avatars quickly. The package integrates seamlessly across multiple platforms—Android, iOS, Web, macOS, Windows, and Linux—making it ideal for apps requiring user profile pictures or chat heads. With a simple API and pre-designed templates, Avataaars enhances user engagement through personalized digital identities.

Use cases

  • User profile picture generation
  • Chat head avatars in messaging apps
  • Personalized onboarding experiences
  • Gamified app interfaces
  • Social media profile customization

Key features

  • Extensive avatar customization options
  • Cross-platform compatibility
  • Simple and intuitive API
  • Predefined character styles
  • Supports multiple skin tones and hair colors
  • Lightweight and fast rendering

Suitable for

  • Mobile and web applications with user profiles
  • Messaging or social networking apps
  • Onboarding flows requiring user identity
  • Gamification features
  • Apps targeting diverse user demographics

Considerations

  • Limited to predefined avatar styles
  • May require additional styling for custom themes
  • Not suitable for photorealistic avatars
  • Depends on static asset set for variations
  • No animation support within the core package

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Avataaars

Avataaars is a Flutter package that provides Avataaar classes which enable an easy svg generation of beautiful personal avatars.
This package is heavily inspired by Avataaars Generator.
The original avatars were designed by Pablo Stanley, the Sketch library can be found here.

Presentation

The following Avataaar customizer is not part of this package, but can be found in the example folder.
It should nevertheless showcase the functionality of the Avataaar classes.
(The Color Picker that is visible in the gif, is part of the flex_color_picker package)

random next selection

Usage

  • Create a random Avataaar with Avataaar.random()
  • Edit the individual parts, by making use of the copyWith method.
  • Get the SVG String by calling Avataaar.toSvg()

Label Language Support

Known Errors

By using the flutter_svg package to render the svg strings, it can happen that a warning appears in the console.
This warning is most likely along the lines: "unhandled element filter;".
It is related to this issue.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.