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
Comments are closed.