搜索插件、代码仓与 APP 分类

multiavatar 封面
插件详情v1.0.0

multiavatar

Multiavatar 是一个多元文化头像生成器。120 亿种独特的多元文化头像

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
883
喜欢数
129
Pub 分数
140

安装插件

flutter pub add multiavatar

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Multiavatar 生成 120 亿个独特且多元文化的头像,适用于个人资料、聊天头像和用户界面。基于 Dart 和 Flutter 构建,支持 Android、iOS、Web、macOS、Windows 和 Linux 等多个平台。该包使用确定性算法,根据用户名或 ID 等输入数据创建多样化的风格化头像,确保视觉多样性与包容性。它轻量、易于集成,非常适合需要个性化用户表示但不依赖外部服务的应用。

适合场景

  • 用户个人资料图片
  • 聊天和消息应用
  • 社交媒体应用
  • 入门屏幕
  • 游戏化界面
  • 包容性用户界面设计

主要特点

  • 120亿个独特的虚拟形象
  • 多元文化设计多样性
  • 确定性头像生成
  • 跨平台支持
  • 轻便且快速
  • 无外部依赖

适合对象

  • 需要个性化头像的应用
  • 注重包容性的开发者
  • 具有用户身份功能的项目
  • 具有聊天功能的网页和移动应用
  • 强调多样性的设计系统

使用建议

  • 头像唯一性取决于输入种子
  • 除了种子之外,自定义选项有限
  • 不适合高保真角色艺术
  • 最适合抽象或风格化的头像
  • 可能需要在不同平台上进行测试以确保一致性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Multiavatar

Flutter Wrapper for Multiavatar

Multiavatar is a multicultural avatar maker.

Multiavatar 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 multiavatar to your pubspec:

dependencies:
  multiavatar: any # or the latest version on Pub
var svgCode = multiavatar('X-SLAYER')

avatar with transparent background

var svgCode = multiavatar('X-SLAYER', trBackground: true);

check the exemple of using multiavatar with svg package Multiavatar + svg package

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 multiavatar.dart file comments.

License

A Dart implementation based on Multiavatar script for Flutter apps.

Screenshots

Visitors Count

Loading

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。