

ttf files from the webfonts directory and icons.json from metadata to Download the web version of font awesome pro and open it.Go to the location of your custom font_awesome_flutter version (see setup).This includes not uploading your package toĪ public github repository or other public file sharing services. ❗ By importing pro icons you acknowledge that it is your obligation Then override the dependency's location: dependencies: To use your customized version in an app, go to the app's pubspec.yaml and add a dependency forįont_awesome_flutter: '>= 4.7.0'. \.)Īn overview of available options can be viewed with. The configurator is located in the util folder and can be started by running configurator.bat on Windows, or To a location of your choice and run flutter pub get inside. To use your custom version, you must first clone this repository We supply a configurator tool to assist you with common customizations to this package.īy default, if run without arguments and no icons.json in lib/fonts exists, it updates all icons to the View the Flutter app in the example directory to see all the available FontAwesomeIcons. Solid (this icon does not have other free styles) If more than one icon style is available for an icon, the style name is used as prefix, except for "regular".ĭue to restrictions in dart, icons starting with numbers have those numbers written out. Icon names equal those on the official website, but are written in lower camel case. Use the FaIcon Widget + FontAwesomeIcons class for the IconData

Usage # import 'package:font_awesome_flutter/font_awesome_flutter.dart'

In the dependencies: section of your pubspec.yaml, add the following line: dependencies: If you have purchased the pro icons and want to enable support for them, please see the instructions below. This icon pack includes only the free icons offered by Font Awesome out-of-the-box. The free Font Awesome Icon pack available as set of Flutter Icons - based on font awesome version 6.2.0.
