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

simple_icons 封面
插件详情v16.23.0

simple_icons

Simple Icon 图标包作为 Flutter 图标提供。为热门品牌提供超过 1500 个免费 SVG 图标。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
2.4万
喜欢数
145
Pub 分数
150

安装插件

flutter pub add simple_icons

插件介绍

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

Simple Icons 是一个 Flutter 包,提供超过 1500 个免费的 SVG 图标,涵盖热门品牌,以可缩放且可自定义的 Flutter 图标形式交付。专为寻求可靠开源图标集的开发者设计,支持 Android、iOS、Web、macOS、Windows 和 Linux 等多个平台。图标轻量级,可通过 pub.dev 包管理器轻松集成,非常适合用于品牌标识或需要官方标志的 UI 元素。每个图标均来自官方品牌资源,并在公开的 GitHub 仓库中维护,确保透明度和社区贡献。

适合场景

  • 移动和网页应用中的品牌建设
  • 显示社交媒体标志
  • 使用官方品牌图标增强用户界面
  • 创建开发者工具界面
  • 构建作品集或展示网站

主要特点

  • 超过1500个官方品牌图标
  • 基于 SVG,具有高可扩展性
  • 跨平台支持
  • 通过 pub.dev 实现轻松集成
  • 开源,公共仓库

适合对象

  • 需要品牌图标的应用开发者
  • 使用 Flutter 的设计师
  • 需要官方标识表示的项目
  • 开源贡献者
  • 专注于一致性的UI/UX设计师

使用建议

  • 图标是静态的;不支持动画
  • 需要手动更新以添加新品牌
  • 在性能关键场景中,对于非常大的图标集未进行优化
  • 除了标准图标属性外,自定义功能有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Simple Icons

Simple Icons: Flutter

A Flutter package for Simple Icons, which provides over 1500 Free SVG icons for popular brands.
See them all on one page at SimpleIcons.org.
Contributions, corrections & requests can be made on GitHub.

Naming

Naming conventions have been changed for better readability and consistancy with all other flutter icon packs.

Additionally:

  • special characters ➔ written in words
  • names starting with a number ➔ the letter 'n' placed in front
  • dart reserved words ➔ 'icon' placed in the back

To convert from the catalog simply follow this method

.NET ➔ dotNet

Apple Pay ➔ applepay

1Password ➔ n1password

abstract ➔ abstracticon

SimpleIconColors

As of version 10.1.2 the SimpleIconColors exists, which holds the brands hex color.
Some brands did not receive a color. This is a known error in the build script.
If you find any icon which you like to have color support for, feel free to open an issue.

Installation

In the dependencies: section of your pubspec.yaml add the following line:

dependencies:
  simple_icons: <latest_version>

Usage

import "package:simple_icons/simple_icons.dart";

class MyAwesomeWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(SimpleIcons.github, color: SimpleIconColors.github),
      onPressed: () {
          print("awesome platform to share code and ideas");
      }
    );
  }
}

Example

View the flutter app in the example directory

Screenshots


website

所属分类

源码仓库

使用此插件的项目