Iconify Flutter 是一個 Flutter 套件,提供對超過 100 個開源圖示集的存取,讓開發者能輕鬆將美觀且可縮放的圖示整合到他們的應用程式中。它支援多個平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。此套件透過統一的 API 和從 Feather、Material Icons 及 Font Awesome 等知名圖示庫動態載入圖示,簡化圖示的使用。零外部相依性,內建主題與自訂支援,Iconify Flutter 在不增加封包大小的情況下提升應用程式的美學。
適用情境
為移動和網路應用添加可擴展的圖示
在一個項目中整合多種圖示庫
使用基於向量的圖標創建響應式 UI
透過主題自訂圖示外觀
透過避免使用圖標字體來減少應用程式套件大小
使用一致的圖標構建跨平台應用程式
主要特色
支援 100 多個開源圖示集
跨平台相容性
動態圖示載入
最小的套件大小影響
內建主題和顏色支援
基於向量的可擴展性
適合對象
尋求豐富圖示資源的 Flutter 開發人員
需要多個圖標庫的專案
針對多個平台的應用程式
專注於UI/UX的設計師與開發人員
希望獲得輕量級圖示解決方案的團隊
強調效能與可擴展性的專案
使用建議
需要網路連接以動態取得圖示(除非已快取)
僅限 Iconify 的資料庫中可用的圖示集
可能需要快取策略以供離線使用
不適合僅包含靜態圖示專案
依賴第三方圖示資料來源
首次載入圖示時可能出現延遲
原始 README
以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。
Before starting ✋. I want to tell you that every star 🌟 added to my space shines my world and motivate me 💪 to make more awesome things like this one so please don't forget to give me a star and like the project.
Iconify Flutter
Not just another icon library. it's +100 open source iconsets to make your flutter apps more beautiful.
How to use? 🤔
First of course you need to install it
$ flutter pub add iconify_flutter
Then it as easy as this
import'package:iconify_flutter/iconify_flutter.dart'; // For Iconify Widgetimport'package:iconify_flutter/icons/zondicons.dart'; // for Non Colorful Iconsimport'package:colorful_iconify_flutter/icons/emojione.dart'; // for Colorful Icons
....
Iconify(Zondicons.airplane)
Iconify(Emojione.baby)
// as widgets
import'package:iconify_flutter/icons/zondicons.dart';
...
Zondicons.iconsList // List of all icons of VS Code icon set
Important Notes ❗
There is two diffrent versions of icons packages(package:colorful_iconify_flutter/icons/) colorful icons sets and (package:iconify_flutter/icons/) for un colorful icons sets. so please use the right package name
All icon sets are free but Some collections require attribution when used for commercial purposes. See This List of collections and their licenses.
Thanks to 🙏
@cyberalien for his awesome icon framework Iconify which this package based on