Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A Flutter package to use DevIcons

dev_icons

This flutter package allows you to use all the Dev Icons. You can view the icons catalog on devicon.dev

Installation

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

dev_icons: ^1.0.0

Usage

import "package:dev_icons/dev_icons.dart";

class MyAwesomeWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(DevIcons.flutterPlain),
      onPressed: () {
          print("Best cross platform framework");
      }
    );
  }
}

Example

View the flutter app in the example directory

Screenshot

Download dev icons package source code on GitHub

https://github.com/JideGuru/dev_icons

Exit mobile version