搜尋套件、儲存庫與 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

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。