heroicons_flutter
0.5.0, released 5 months ago by an unverified publisher
Heroicons from Tailwind Labs as a Flutter icon set including solid, outline, micro and mini styles.
WASM-ready
What it does
Provides all solid, outline, micro, and mini Heroicons from Tailwind Labs for Flutter applications. Offers static icon constants that support tree-shaking as well as optional runtime string lookup via named().
AI-written summary of version 0.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need clean, modern UI icons following the Tailwind Heroicons design system.
- You want to use tree-shaken static icon constants for smaller app bundles.
Skip it when
- You need to use string lookups extensively across a large icon set where tree-shaking is critical.
- Your project relies on alternative icon sets like Material Symbols or FontAwesome.
Strengths
- Includes solid, outline, micro, and mini icon styles.
- Supports tree shaking when using static icon classes.
- Provides convenient string lookup using named() for dynamic icon resolution.
Weaknesses
- Tree shaking does not apply when using the runtime string lookup method named().
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:heroicons_flutter/heroicons_flutter.dart';
const Icon(
HeroiconsSolid.faceSmile,
color: Colors.blue,
);Alternatives
Packages that do the same job and could replace heroicons_flutter.
- font_awesome_flutter
Choose this if you prefer Font Awesome icons over Tailwind's Heroicons.
77Compare - lucide_icons_flutter
Choose this if you want Lucide icons instead of Heroicons.
91Compare - material_symbols_icons
Choose this if you need Google's Material Symbols instead of Heroicons.
79Compare