font_awesome_flutter 8.5.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 100

font_awesome_flutter #

The Font Awesome Icon pack available as set of Flutter Icons.

Based on Font Awesome 5.5. Includes all free icons:

  • Regular
  • Solid
  • Brands

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

  font_awesome_flutter: <latest_version>

When icons do not render try this.

Usage #

import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the FontAwesomeIcons class for the IconData
      icon: new Icon(FontAwesomeIcons.gamepad), 
      onPressed: () { print("Pressed"); }

Example #

View the Flutter app in the example directory to see all the available FontAwesomeIcons.

Contributors #

  • Brian Egan
  • Phil Plante

8.5.0 #

  • Upgrade to Font Awesome Icons 5.9

8.4.0 #

  • FIX BAD BUILD - 8.3.0 had a problem with the update Script, please do not use!
  • Upgrade to Font Awesome Icons 5.7

8.3.0 #

  • Upgrade to Font Awesome Icons 5.7

8.2.0 #

  • Upgrade to Font Awesome Icons 5.5

8.1.0 #

  • Upgrade to Font Awesome Icons 5.3.1

8.0.1 #

  • Fix documentation

8.0.0 #

  • Upgrade environment version constraint for Dart 2
  • Upgrade to font awesome icons 5.2.0

7.1.0 #

  • Upgrade to font awesome icons 5.1.0

7.0.0 #

  • Renames:
    • All icons that end with capital-O (for outline) have been renamed. E.g. addressBookO has been renamed addressBook
    • All solid icons have been renamed to solidIconName. E.g. addressBook renamed solidAddressBook
  • Generate Icon pack based on JSON definition from source. Much easier upgrades / maintenance / consistency going forward! Big thanks to @pplante on Github for the contribution :)
  • Move fonts into the lib folder.

6.0.0 #

  • Update to Font Awesome Icons 5.0.2, which includes tons of new Icons!

5.0.0 #

  • semver mistake: 4.7.3 should have been a major bump as it involves breaking changes.

4.7.3 #

  • Simpler Install: Remove the need to specify the font in your own pubspec.yaml

4.7.2 #

  • MOAR README updates

4.7.1 #

  • README fix

4.7.0 #

  • Expose Font Awesome 4.7.0 woff font asset. This was the smallest version of the font file that worked with Flutter.
  • Created FontAwesomeIcons class, which provides static access to all Font Awesome 4.7.0 Icons as IconData, similar to Flutter's built-in Icons class.
  • Created a Gallery App that can be used to view all provided icons
  • Created README with installation instructions
  • Added file


example #

A new Flutter project.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  font_awesome_flutter: ^8.5.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:font_awesome_flutter/font_awesome_flutter.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 13, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.1+4
  • Flutter: 1.12.13+hotfix.4

Health issues and suggestions

Document public APIs. (-1 points)

1546 out of 1546 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.28.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
recase ^2.0.0+1