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

discontinued
PlatformAndroidiOS

A new Flutter package project.

FA Icons #

FA Icons is a plugin to help you easily add Font Awesome icons to your project;

Usage #

Using the plugin is very simple, see how to do it below;

    final icon = FAIcons.getIcon(uniCode, fontFamily);

In uniCode you need to enter the icon code, for example f2b9, add the value 0x at the beginning, then the uniCode will be 0xf2b9.

The plugin support three families, Regular (far), Brand (fab) and Solid (fas);

to more uniCodes and details visit https://fontawesome.com/

Example #

    class ExampleView extends StatefulWidget {
      const ExampleView({Key? key}) : super(key: key);
    
      @override
      _ExampleViewState createState() => _ExampleViewState();
    }
    
    class _ExampleViewState extends State<ExampleView> {
    
      @override
      Widget build(BuildContext context) {
        return Container(
          child: Icon(FAIcons.getIcon(0xf2b9, "far")),
        );
      }
    }
1
likes
100
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on fa_icons