heroicons 0.8.0 copy "heroicons: ^0.8.0" to clipboard
heroicons: ^0.8.0 copied to clipboard

HeroIcons set of SVG icons in your Flutter app. Both outlined & solid icon version are available.

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,
      style: HeroIconStyle.outline, // 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 #

Fetch new icons and automatically generate source code for heroicons.dart

dart tool/generator.dart

Extra Commands #

Just fetch new icons and organize into assets/

dart tool/fetch_icons.dart

Run source code generation to create heroicons.dart file with enum entry for every icon.

dart tool/generator.dart
60
likes
0
pub points
95%
popularity

Publisher

verified publishervojtech.net

HeroIcons set of SVG icons in your Flutter app. Both outlined & solid icon version are available.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg, path

More

Packages that depend on heroicons