polymer_fontawesome 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 41

Font Awesome as a PolymerElements/iron-iconset-svg component.

Set Up pubsec.yaml

# bower
bower install fontawesome-iconset
# npm
npm install fontawesome-iconset

Use

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

<iron-icon icon="fa:line-chart"></iron-icon>

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:

<iron-icon icon="fa-gender:venus"></iron-icon>

Update

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).

Changelog

0.0.1

  • 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:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

Version Uploaded Documentation Archive
0.0.1 Jan 24, 2018 Go to the documentation of polymer_fontawesome 0.0.1 Download polymer_fontawesome 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
55
Overall:
Weighted score of the above. [more]
41
Learn more about scoring.

We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: Flutter, web, other

No libraries.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-5 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use polymer_fontawesome.dart.

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.