font_awesome_pro_flutter 0.0.1 copy "font_awesome_pro_flutter: ^0.0.1" to clipboard
font_awesome_pro_flutter: ^0.0.1 copied to clipboard

Simple, opinionated, codegen library for GraphQL. It allows you to generate serializers and client helpers to easily call and parse your data.

font_awesome_pro_flutter #

Builds FontAwesome Pro icons in your flutter project. No repo cloning is needed!

Setup #

Add font_awesome_pro_flutter: <latest version> to your dev_dependencies. It is a builder, so you'll need to set up build_runner. Read more here.

Then you need to install the fonts you'd like:

# pubspec.yaml
  fonts:
    - family: FontAwesomeRegular
      fonts:
        - asset: fonts/fa-regular-400.ttf
    - family: FontAwesomeSolid
      fonts:
        - asset: fonts/fa-solid-900.ttf
    - family: FontAwesomeLight
      fonts:
        - asset: fonts/fa-light-300.ttf
    - family: FontAwesomeThin
      fonts:
        - asset: fonts/fa-thin-100.ttf
    - family: FontAwesomeBrands
      fonts:
        - asset: fonts/fa-brands-400.ttf

These can be downloaded at FontAwesome.

The currently supported version is 6.1.1.

Future work #

  • The generated files are MASSIVE. The next step will be to allow configuring which styles to generate.
  • Duotone is NOT yet supported.
2
likes
0
pub points
57%
popularity

Publisher

verified publisherheft.app

Simple, opinionated, codegen library for GraphQL. It allows you to generate serializers and client helpers to easily call and parse your data.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

build, built_collection, code_builder, dart_style, path, recase

More

Packages that depend on font_awesome_pro_flutter