pepsighan/mdi-dart
5,400+ Material Design Icons for Flutter from the Community
- Stars
- 34
- Forks
- 11
- Last push (UTC)
- Sep 12, 2022
- Project status
- Active
LanguagesDartJavaScriptShellKotlinSwiftObjective-C
Technical topics
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project 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:
- null -> nullIcon
- switch -> switchIcon
- sync -> syncIcon
- 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.