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

flutter_advanced_avatar 封面
套件詳情v1.5.3

flutter_advanced_avatar

進階頭像提供豐富的 API 用於小部件自訂,為您的應用帶來全新的外觀與感受。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
4620
喜歡數
112
Pub 分數
160

安裝套件

flutter pub add flutter_advanced_avatar

套件介紹

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

flutter_advanced_avatar 是一個可自定義的頭像組件,透過豐富的樣式選項與進階功能來增強使用者個人資料的顯示。它支援多種形狀、邊框、徽章以及圖片載入設定,讓開發者能創造出符合應用設計的視覺吸引力強的頭像。此套件可於多個平台無縫整合,確保在 Android、iOS、Web、macOS、Windows 與 Linux 上具有一致的效能與外觀。透過彈性的 API,賦予 UI 設計師與開發者無需撰寫重複程式碼即可實作獨特頭像樣式的強大能力。

適用情境

  • 使用者資料顯示
  • 聊天介面
  • 團隊成員卡片
  • 社群媒體資料
  • 儀表板小部件

主要特色

  • 可客製化的形狀和尺寸
  • 徽章支援
  • 邊框樣式
  • 使用佔位符載入影像
  • 平台一致性

適合對象

  • 帶有使用者資料的應用程式
  • 訊息或聊天應用
  • 儀表板介面
  • 注重設計的應用程式

使用建議

  • 需要影像 URL 或資源參考
  • 僅限視覺自訂
  • 無內建使用者資料管理

原始 README

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

flutter_advanced_avatar

An advanced avatar provides a rich API for widget customization that opens a new look and feel in your app.

APP_ICON

Advanced Avatar Theme LAF

Advanced Avatar Light Theme Advanced Avatar Dark Theme
PREVIEW_LIGHT PREVIEW_DARK

AdvancedAvatar Parameters

Parameter Description Type Default
name Used for creating initials. (Regex split by r'\s+/') String
size Avatar size (width = height). double 80.0
image Avatar image source exclusively with [child]. ImageProvider
margin Avatar margin. EdgeInsetsGeometry
style Initials text style. TextStyle
statusColor Status color. Color
statusSize Status size. double 12.0
statusAlignment Status alignment. Alignment Alignment.topRight
decoration Avatar decoration. BoxDecoration color, shape
foregroundDecoration Avatar foreground decoration. BoxDecoration
child Child widget exclusively with [image]. Widget
children Hosted widgets. Widget
animated Use AnimatedContainer bool false
duration AnimatedContainer duration Duration Duration(milliseconds: 300)
autoTextSize Auto name text size bool false

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。