Skip to content

rshrc/flutter_icomoon_icons

Repository files navigation

header

flutter_icomoon_icons

facing any problems? have a look into the documentation (class IcoMoonIcons)

490 Free IcoMoon Icons for Flutter.

This flutter package allows you to use all of the IcoMoon package

Find it at at pub.dartlang.org

Installation

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

flutter_icomoon_icons: <latest_version>

Usage

import 'package:flutter_icomoon_icons/flutter_icomoon_icons.dart';

class MyAwesomeWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      // Use the IcoMoonIcons class for the IconData
      icon: Icon(IcoMoonIcons.home),
      onPressed: () {
          print("IcoMoon Icon Pressed! It's Home!");
      }
     );
  }
}

Example

View the Flutter app in the example directory.

Screenshot

screenshot

Developers

Made with ❤️ by Rishi Banerjee and Nikhil Anand