feather_icons_svg
0.4.0, released 4 years ago by vojtech.net
Feather icons port for Flutter rendering icons as SVG with runtime customization.
What it does
Feather Icons SVG allows Flutter developers to render Feather icons as SVG pictures instead of icon fonts. It enables runtime customization of properties such as stroke width and color. It also supports `FeatherIconTheme` to customize default values for a widget subtree.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to use Feather Icons in your Flutter application rendered as SVGs
- You need to customize icon properties like stroke width at runtime
Skip it when
- You prefer using standard icon fonts
- You need icon sets other than Feather Icons
Strengths
- Allows runtime customization of stroke width
- Uses flutter_svg instead of icon fonts
Weaknesses
- Limited to Feather Icons
- Not documented for extensive asset customization beyond the provided tools
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add the package into your pubspec.yaml using flutter pub add.
class MyExampleWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FeatherIcon(
FeatherIcons.calendar,
color: Colors.red,
size: 30,
strokeWidth: 1.5,
);
}
}Alternatives
Packages that do the same job and could replace feather_icons_svg.
- font_awesome_flutter
If you need Font Awesome icons instead of Feather icons.
77Compare - lucide_icons_flutter
If you prefer Lucide icons for your app.
91Compare - material_symbols_icons
If you want Material Symbols icons instead of Feather icons.
79Compare
Works with
Packages commonly used together with feather_icons_svg: ones it builds on, ones built on it, and its own family.