flutter_font_icons
3.0.0, released 6 months ago by an unverified publisher
Vector Font Icons for Flutter, including icon sets from react-native-vector-icons and WeatherIcons.
What it does
Provides a comprehensive collection of vector font icon sets, such as AntDesign, FontAwesome, Ionicons, and MaterialCommunityIcons, for use in Flutter applications. It also includes an IconToggle widget for switching between icons with animations.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a large variety of icon sets like FontAwesome, MaterialCommunityIcons, or Ionicons in your Flutter app.
- You want an easy way to transition between selected and unselected states using the IconToggle widget.
Skip it when
- Your project uses a version of Flutter older than 3.22.0.
- You only need standard Material icons and want to avoid adding extra font dependencies.
Strengths
- Bundles many popular icon sets (AntDesign, FontAwesome, Ionicons, etc.) into a single package.
- Includes an IconToggle widget with built-in transition animations.
Weaknesses
- Requires Flutter 3.22.0 or higher.
- May increase app bundle size due to the large number of bundled font files.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add flutter_font_icons to your pubspec.yaml dependencies.
import 'package:flutter/material.dart';
import 'package:flutter_font_icons/flutter_font_icons.dart';
class IconDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Icon(AntDesign.stepforward);
}
}Alternatives
Packages that do the same job and could replace flutter_font_icons.
- font_awesome_flutter
If you specifically need FontAwesome icons with dedicated maintenance and updates.
77Compare - lucide_icons_flutter
If you prefer the clean Lucide icon set.
91Compare - material_symbols_icons
If you want to use Google's Material Symbols.
79Compare