搜尋套件、儲存庫與 APP 分類

random_avatar 封面
套件詳情v0.0.8

random_avatar

隨機頭像是一款多元文化頭像製作工具。120億個獨特的多元文化頭像

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
4910
喜歡數
190
Pub 分數
150

安裝套件

flutter pub add random_avatar

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Random Avatar 產生 120 億個獨特的多元文化頭像,提供多樣且包容的個人資料圖片。基於 Flutter 構建,支援 Android、iOS、Web、macOS、Windows 和 Linux 等多個平台。該套件非常適合需要個人化使用者身分但不依賴外部服務的應用程式。頭像在本機產生,確保隱私並實現快速效能。專為開發者設計,提供簡單且可自訂的解決方案,適用於聊天介面、社交資料或使用者儀表板中的頭像建立。

適用情境

  • 使用者個人檔案圖片
  • 聊天應用
  • 社群媒體應用
  • 遊戲化介面
  • 匿名使用者表示

主要特色

  • 120億個獨特化身
  • 多元文化多樣性
  • 本地生成
  • 跨平台支援
  • 可自定樣式
  • Privacy-focused

適合對象

  • 帶有使用者資料的應用程式
  • 訊息和聊天應用
  • 包容性設計專案
  • 使用逼真的虛擬形象進行原型設計
  • 離線優先的應用程式

使用建議

  • 超出樣式的有限自訂
  • 無即時頭像更新
  • 依賴預生成的資源
  • 不適用於動態頭像動畫
  • 與外部頭像API無整合

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案