Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_font_icons
Source repository

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.