FLUTTER ECOSYSTEM

pepsighan/mdi-dart

來自社群的 5,400 多個 Flutter 材料設計圖標

mdi-dart 專案封面
Stars
34
Forks
11
最近推送(UTC)
2022年9月12日
專案狀態
未封存
Sharad Chand GitHub avatar
GITHUB User

Sharad Chand ↗

Delhi, India官方網站 ↗
語言DartJavaScriptShellKotlinSwiftObjective-C

技術主題

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Material Design Icons for Flutter

pub version likes sdk version platform license

Material Design Icons generated using @mdi/util provided by materialdesignicons.com.

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  mdi: ^5.0.0-nullsafety.0
Usage
import 'package:mdi/mdi.dart';

class AccessPointButton extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(Mdi.accessPoint),
     );
  }
}
Naming

The icon names provided via Mdi are camel-cased variants of the original name.

Exceptions:
  1. null -> nullIcon
  2. switch -> switchIcon
  3. sync -> syncIcon
  4. factory -> factoryIcon
Contributing

If you want to contribute to this project, you may easily create issues and send PRs. Please take note that your code contributions will be applicable under MIT license unless specified otherwise.