SiyrisSoul / mdi-dart

An auto-generated Material Design Icon package for Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Material Design Icons for Flutter

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

Install

mdi: 0.2.2

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 camelCased variants of the original name.

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

Want to help?

If you find the icons are outdated or there are bugs to be fixed, just submit a PR.

To update the icon base and regenerate newer bindings to it, do the following:

$ yarn upgrade
$ yarn build

About

An auto-generated Material Design Icon package for Flutter.

License:MIT License


Languages

Language:Dart 99.1%Language:JavaScript 0.4%Language:Objective-C 0.3%Language:Java 0.2%