Skip to content
pubscout

font_awesome_flutter

11.0.0, released 8 months ago by fluttercommunity.dev

Provides the free Font Awesome icon pack as Flutter widgets.

Flutter FavoriteWASM-ready
$ flutter pub add font_awesome_flutter
Source repository

What it does

Adds over 2000 free Font Awesome icons as ready‑to‑use Flutter Icon widgets. Icons are generated from the Font Awesome OTF files and can be referenced via the FaIcon widget and FontAwesomeIcons class.

AI-written summary of version 11.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a large collection of ready‑made icons
  • You want to match Font Awesome designs used on the web
  • You prefer compile‑time generated icon constants

Skip it when

  • You require only the Pro icon set
  • You need icons that work with the standard Icon widget without a wrapper
  • App size is a critical constraint

Strengths

  • Huge free icon library
  • Simple API with FaIcon and FontAwesomeIcons
  • Supports dynamic name‑to‑icon mapping

Weaknesses

  • Breaking changes require FaIconData instead of IconData
  • Standard Icon widget cannot be used with these icons
  • Tree‑shaking may be limited, increasing app size

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add font_awesome_flutter to pubspec dependencies and import the package

import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: FaIcon(FontAwesomeIcons.gamepad),
      onPressed: () => print('Pressed'),
    );
  }
}

Alternatives

Packages that do the same job and could replace font_awesome_flutter.

Works with

Packages commonly used together with font_awesome_flutter: ones it builds on, ones built on it, and its own family.