facing any problems? have a look into the documentation (class IcoMoonIcons)
This flutter package allows you to use all of the IcoMoon package
Find it at at pub.dartlang.org
In the dependencies: section of your pubspec.yaml, add the following line:
flutter_icomoon_icons: <latest_version>
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!");
}
);
}
}
View the Flutter app in the example
directory.
Made with ❤️ by Rishi Banerjee and Nikhil Anand