Search packages, repositories and app categories

random_avatar cover
Package detailsv0.0.8

random_avatar

Random Avatar is a multicultural avatar maker. 12 billion unique multicultural avatars

AndroidiOSWebmacOSWindowsLinux
30-day downloads
4.9K
Likes
190
Pub points
150

Install package

flutter pub add random_avatar

Package Overview

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

Random Avatar generates 12 billion unique multicultural avatars, offering diverse and inclusive profile pictures. Built with Flutter, it supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for apps needing personalized user identities without relying on external services. Avatars are generated locally, ensuring privacy and fast performance. It’s designed for developers seeking a simple, customizable solution for avatar creation in chat interfaces, social profiles, or user dashboards.

Use cases

  • User profile pictures
  • Chat applications
  • Social media apps
  • Gamified interfaces
  • Anonymous user representation

Key features

  • 12 billion unique avatars
  • Multicultural diversity
  • Local generation
  • Cross-platform support
  • Customizable styles
  • Privacy-focused

Suitable for

  • Apps with user profiles
  • Messaging and chat apps
  • Inclusive design projects
  • Prototyping with realistic avatars
  • Offline-first applications

Considerations

  • Limited customization beyond style
  • No real-time avatar updates
  • Depends on pre-generated assets
  • Not suitable for dynamic avatar animation
  • No integration with external avatar APIs

Original README

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

random_avatar

Flutter Wrapper for Multiavatar

Multiavatar is a multicultural avatar maker.

Random Avatar represents people from multiple races, multiple cultures, multiple age groups, multiple worldviews and walks of life.

In total, it is possible to generate 12,230,590,464 unique avatars.

Installation and usage

Add random_avatar to your pubspec:

dependencies:
  random_avatar: any # or the latest version on Pub

get avatar string

String svgCode = RandomAvatarString('saytoonz');

get avatar string with transparent background

String svgCode = RandomAvatarString('saytoonz', trBackground: true);

get avatar svg widget

Widget svgCode = RandomAvatar('saytoonz', height: 50, width: 50);

get avatar svg widget with transparent background

Widget svgCode = RandomAvatar('saytoonz', trBackground: true, height: 50, width: 50);

check the example (https://github.com/saytoonz/random_avatar/tree/main/example)

Info

To create new avatars, the Multiavatar mixes different parts of different avatars, and different color themes.

The total number of unique avatars: 48^6 = 12,230,590,464

One of the main Multiavatar functions is to work as an identicon. Every unique avatar can be identified by the unique string of characters, associated with the avatar.

The string of characters is also the input for the Multiavatar package, which converts the provided string into a 6 double-digit numbers (range 00-47), each representing an individual part of the final avatar.

000000000000 - this string of numbers represents the very first avatar + its A theme. You can also read it like this: 00 00 00 00 00 00.

474747474747 - this is the 12,230,590,464th avatar (or the 16th initial avatar + its "C" color theme).

More info can be found in the random_avatar.dart file comments.

License

A Dart implementation based on multiavatar script for Flutter apps.

Screenshots

Visitors Count

Loading

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package