material_design_icons_flutter 3.2.3595

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 97

material_design_icons_flutter #

The Material Design Icons Icon pack available as set of Flutter Icons.

Based on Material Design Icons 3.4.93.

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

  material_design_icons_flutter: 3.2.3595

Usage #

import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the MdiIcons class for the IconData
      icon: new Icon(MdiIcons.sword), 
      onPressed: () { print('Using the sword'); }
     );
  }
}

Or, if you want to access the icon by a string name, instantiation a library of icons first.

import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the string name to access icons.
      icon: new Icon(MdiIcons.fromString('sword')), 
      onPressed: () { print('Using the sword'); }
     );
  }
}

Name Conversion #

Some icons' name is reversed keyword in Dart (and most other languages), so the names have been changed.

  • null -> nullIcon
  • switch -> switchIcon
  • sync -> syncIcon
  • factory -> factoryIcon

3.0.3039 #

Since the Material Design Icons does not follow the semver. We decide not to respect its version.

You can find the correspounding version number as patch part.

2.3.50 #

From this version, this package will respect Material Design Icons' version since it might introduce breaking changes between minor versions.

1.0.0 #

  • First released

example/README.md

example #

A new Flutter project.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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


dependencies:
  material_design_icons_flutter: ^3.2.3595

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:material_design_icons_flutter/material_design_icons_flutter.dart';
  
Version Uploaded Documentation Archive
3.2.3595 Mar 5, 2019 Go to the documentation of material_design_icons_flutter 3.2.3595 Download material_design_icons_flutter 3.2.3595 archive
3.1.3493 Feb 16, 2019 Go to the documentation of material_design_icons_flutter 3.1.3493 Download material_design_icons_flutter 3.1.3493 archive
3.0.3392 Jan 8, 2019 Go to the documentation of material_design_icons_flutter 3.0.3392 Download material_design_icons_flutter 3.0.3392 archive
3.0.3289 Dec 5, 2018 Go to the documentation of material_design_icons_flutter 3.0.3289 Download material_design_icons_flutter 3.0.3289 archive
3.0.39 Nov 2, 2018 Go to the documentation of material_design_icons_flutter 3.0.39 Download material_design_icons_flutter 3.0.39 archive
2.7.94 Sep 3, 2018 Go to the documentation of material_design_icons_flutter 2.7.94 Download material_design_icons_flutter 2.7.94 archive
2.3.50 Apr 21, 2018 Go to the documentation of material_design_icons_flutter 2.3.50 Download material_design_icons_flutter 2.3.50 archive
1.0.0 Mar 14, 2018 Go to the documentation of material_design_icons_flutter 1.0.0 Download material_design_icons_flutter 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
97
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
96
Overall:
Weighted score of the above. [more]
97
Learn more about scoring.

We analyzed this package on Apr 25, 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

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

3602 out of 3602 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.

Format lib/material_design_icons_flutter.dart.

Run flutter format to format lib/material_design_icons_flutter.dart.

Maintenance suggestions

The package description is too short. (-4 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.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