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

插件详情v0.0.4

flutter_material_symbols

一个提供一组 Material Symbols 图标集的 Flutter 包。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
730
喜欢数
29
Pub 分数
60

安装插件

flutter pub add flutter_material_symbols

插件介绍

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

一个 Flutter 包,提供全面的 Material Symbols 图标集合,旨在符合 Google 的 Material Design 指南。这些可缩放的矢量图标经过性能和跨平台一致性的优化。该包简化了在 Flutter 应用中集成图标的过程,支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。它使开发者能够以最少的设置和代码使用现代且可自定义的图标。非常适合需要统一视觉语言的应用程序。

适合场景

  • 集成符合 Material Design 的图标
  • 构建跨平台 UI
  • 增强应用视觉一致性
  • 创建响应式图标集
  • 简化图标管理

主要特点

  • 支持所有主要平台
  • 基于向量的可伸缩图标
  • 遵循 Material Design 标准
  • 与 Flutter 的轻松集成
  • 可自定义的图标大小和颜色

适合对象

  • 使用 Flutter 的 UI/UX 设计师
  • 开发 Material Design 应用的开发者
  • 跨平台移动和Web项目
  • 需要一致图标设计的应用程序

使用建议

  • 需要 Flutter 3.0 或更高版本
  • 仅限 Material Symbols 集
  • 无内置图标搜索功能
  • 使用大型图标集时可能会略微增加应用大小

原始 README

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

Material Symbols

fonts.google.com Image Source: material.io

pub package donate

This Flutter package aims to add all icons from Material Symbols introduced by Google along with the Material 3.

Read Google's official announcement here.

Installation

To use this package, add flutter_material_symbols as a dependency in your pubspec.yaml file.

Using the command line:

flutter pub add flutter_material_symbols

Or, if you prefer to add directly to your pubspec.yaml file:

dependencies:
  flutter_material_symbols: ^0.0.1

Usage

Import the package:

import 'package:flutter_material_symbols/flutter_material_symbols.dart';

Use the MaterialSymbols class to access the icons:

Icon(MaterialSymbols.favorite),
IconButton(
  icon: Icon(MaterialSymbols.add),
  onPressed: () {},
)

This package also supports filled, outlined, and sharp icons, which can be used by adding the filled, outlined, or sharp suffix to the icon name:

Icon Styles Image Source: material.io

Icon(MaterialSymbols.favorite_filled),
Icon(MaterialSymbols.favorite_outlined),
Icon(MaterialSymbols.favorite_sharp),

Contributors

Report Issues / Bugs

If you find any bugs or misplaced icons, please open an issue here.

License

This package is licensed under the MIT License

所属分类

源码仓库

使用此插件的项目

暂无相关数据。