FLUTTER ECOSYSTEM

jlnrrg/simple_icons

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

simple_icons 项目封面
Stars
39
Forks
12
最近推送(UTC)
2026年6月7日
项目状态
未归档
Jlnrrg GitHub avatar
GITHUB User

Jlnrrg ↗

Germany
语言DartC++CMakeHTMLShellCPythonSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 6 项
  • flutter{"sdk":"flutter"}
  • alchemist开发依赖^0.14.0
  • flutter_test开发依赖{"sdk":"flutter"}
  • recase开发依赖^4.1.0
  • unorm_dart开发依赖^0.3.2
  • xml开发依赖^7.0.1

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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