Skip to content

Hamrounix/font_awesome_flutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The Font Awesome Icon pack available as Flutter Icons

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 98.6%
  • Other 1.4%