Set Up pubsec.yaml #
# bower bower install fontawesome-iconset # npm npm install fontawesome-iconset
Be sure you import next items from your repositories something like
Link your custom component alongside with other Polymer dependencies (in index.html for instance)
<link rel="import" href="packages/polymer_fontawesome/fa-all.html">
Use the iconset
You also can refer to an specific category of icons:
<link rel="import" href="packages/polymer_fontawesome/fa-gender.html">
And use it like this:
To update to the latest version of FontAwesome, just install node modules and run "update"
npm install npm run update
Soon there will be a production script to export only the icons to be used (like the original font-awesome-polymer-icons-generator but in node).
- Initial version
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: polymer_fontawesome: ^0.0.1
2. Install it
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
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]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Analysis issues and suggestions
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.
Maintenance issues and suggestions
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.