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

iconify_flutter 封面
插件详情v0.0.7

iconify_flutter

100+ 用于 Flutter 的开源图标集,让您的应用更美观

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1.4万
喜欢数
473
Pub 分数
150

安装插件

flutter pub add iconify_flutter

插件介绍

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

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

likes GitHub stars HitCount

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 Widget
import 'package:iconify_flutter/icons/zondicons.dart'; // for Non Colorful Icons
import 'package:colorful_iconify_flutter/icons/emojione.dart'; // for Colorful Icons
....


Iconify(Zondicons.airplane)
Iconify(Emojione.baby)
// as widgets

Discover All Icons 🕵️

To explore all the icons, Click Here

How to use svg as icon with iconify ✏️

import 'package:iconify_flutter/iconify_flutter.dart';

....

const String svgIcon =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--ic" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="#000000" d="M3 3h18v18H3z"></path></svg>
' // svg file as string

Iconify(svgIcon) // as a widget

Get list of all icons of specific icon set 📋

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

@antfu for his site icones

@IconDesigners who own icon sets

@You for using this package and supporting me by sharing it among the flutter community

Dreams 💭

  • [x] Get first 100 stars on github.com
  • [ ] Get Flutter Favourite Badge
  • [x] Get first 100 likes on pub.dev
  • [x] Add colorful icons to iconify_flutter

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目