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