heroicons 0.2.0
heroicons: ^0.2.0 copied to clipboard

Easily use HeroIcons set of SVG icons in your Flutter app. Only outlined version is available right now.

HeroIcons #

heroicons port to Flutter. This package renders the icons as SVG pictures.

Usage #

class MyExampleWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return HeroIcon(
      HeroIcons.calendar,
      solid: false, // Outlined icons are used by default.
      color: Colors.red,
      size: 30,
    );
  }
}

Install #

Add heroicons package into your pubspec.yaml.

dependencies:
  heroicons: # Latest version

You can also run flutter pub add heroicons to quickly add latest version from your CLI.

Development #

Run source code generation to create heroicons.dart file with named constructor for every icon.

dart tool/generator.dart
2
likes
120
pub points
32%
popularity

Publisher

vojtech.net

Easily use HeroIcons set of SVG icons in your Flutter app. Only outlined version is available right now.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg, path

More

Packages that depend on heroicons