material_design_icons_flutter 2.7.94 copy "material_design_icons_flutter: ^2.7.94" to clipboard
material_design_icons_flutter: ^2.7.94 copied to clipboard

outdated

The Material Design Icons from the community for Flutter

material_design_icons_flutter #

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

Based on Material Design Icons 2.7.94. Includes 2794 icons.

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

Installation #

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

  material_design_icons_flutter: 2.7.94

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"); }
     );
  }
}

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
641
likes
0
pub points
99%
popularity

Publisher

verified publisherziofat.dev

The Material Design Icons from the community for Flutter

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on material_design_icons_flutter