FLUTTER ECOSYSTEM

lucaslcode/outline_material_icons

为 Flutter 应用提供来自 Google 的 Material Design 图标的新轮廓主题。

outline_material_icons 项目封面
Stars
39
Forks
7
最近推送(UTC)
2023年12月11日
项目状态
未归档
Lucas Levin GitHub avatar
GITHUB User

Lucas Levin ↗

语言DartObjective-CJava

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

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

展开 / 收起项目 README

outline_material_icons

This package provides the 'outline' theme of icons on the Material Design website, which is not available in Flutter or as a .ttf font file.

Example

These icons were downloaded in September 2018, they may be updated in the future.

Usage

Add the package to pubspec.yaml and use the OMIcons class.

  Widget build(BuildContext context) => Icon(OMIcons.sentimentSatisfied);

Browse available icons using the example app or the Material Design icons website above.

There is a Map<String, int> of snake_case icon names to codepoints if you want to list all the icons. See the example app code for how. Using the OMIcons class directly is preferable in most cases.

Changes and omissions

All 'partly filled' icons are removed due to single colour restriction for .ttf fonts. This includes partly-filled battery icons and not-full-strength wifi/reception icons.

Icons with an underline have had the line made solid: border_color, format_color_fill and format_color_text.

These icons were renamed to avoid Dart errors/clashes: 360 -> icon360, class -> classIcon, sync -> syncIcon

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.