FLUTTER ECOSYSTEM

rehmatsg/flutter_material_symbols

Material Symbols イコンのセットを提供する Flutter パッケージ。

flutter_material_symbols のプロジェクト画像
Stars
10
Forks
3
最終プッシュ(UTC)
2023/01/15
プロジェクト状態
公開中
Rehmat Singh Gill GitHub avatar
GITHUB User

Rehmat Singh Gill ↗

@DevflowStudiosSan Francisco
言語DartC++CMakeRubyHTMLCSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^2.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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