flutter_material_symbols
Material Symbols 아이콘 세트를 제공하는 Flutter 패키지입니다.
Material Symbols 아이콘 세트를 제공하는 Flutter 패키지입니다.
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
fonts.google.com Image Source: material.io
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.
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
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),
If you find any bugs or misplaced icons, please open an issue here.
This package is licensed under the MIT License