eva icons flutter
flutter package for eva_icons. eva icons is a pack of more than 480 beautifully crafted open source icons for common actions and items.
this package brings eva_icons pack available as flutter icons. it has beautiful outlined and rounded icons.
installation
in the dependencies: section of your pubspec.yaml
, add the following line:
eva_icons_flutter: <latest_version>
usage
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
class mywidget extends statelesswidget {
widget build(buildcontext context) {
return iconbutton(
// use the evaicons class for the icondata
icon: icon(evaicons.heart),
onpressed: () { print("eva icon heart pressed"); }
);
}
}
example
view the flutter app in the example
directory.
screenshot
Comments are closed.