An auto-generated Material Design Icon package for Flutter.
Branch: master
Clone or download
Latest commit f258c08 Feb 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mdi Bump version to 0.1.1 Feb 8, 2019
src Append `Icon` to Icons with keyword in their name. Feb 8, 2019
.gitignore A proper gitignore file Feb 8, 2019
Cargo.lock Initial commit Feb 8, 2019
Cargo.toml Initial commit Feb 8, 2019
LICENSE Added license Feb 8, 2019
README.md Provide a help message Feb 8, 2019

README.md

Material Design Icons for Flutter

Material Design Icons generated using mdi/fonts SVG font provided by materialdesignicons.com.

Install

mdi: 0.1.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

Want to help?

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

Also, to generate icon glue-code locally you will be required to install Rust & Cargo. If you already have Rust, run the following on terminal:

$ cargo run