mdi 0.1.1

  • Example
  • Installing
  • Versions
  • 83

Material Design Icons for Flutter #

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

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

[0.1.0] - 2019-02-08

  • Fonts available via Mdi's static constants.


import 'package:flutter/material.dart';
import 'package:mdi/mdi.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'MyApp',
      theme: ThemeData(
      home: Column(
        children: <Widget>[
          // Use the camel-cased form of icon name.

Use this package as a library

1. Depend on it

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

  mdi: ^0.1.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:mdi/mdi.dart';
Version Uploaded Documentation Archive
0.1.1 Feb 8, 2019 Go to the documentation of mdi 0.1.1 Download mdi 0.1.1 archive
0.1.0 Feb 8, 2019 Go to the documentation of mdi 0.1.0 Download mdi 0.1.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Apr 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.4.7


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

3498 out of 3498 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8