Code Monkey home page Code Monkey logo

font_awesome_flutter's Introduction

Flutter Community

Flutter Community

A central place for community made Flutter content.


The Flutter Community is an organization aimed at providing a central place for community made Flutter packages and content to live.

Our goal is to ensure packages made by the Flutter community are kept alive and maintained in one place.

Medium Articles

To go along with the packages, we have started a Medium publication as a central location for community content to be published - especially if it relates to the packages here.

https://medium.com/flutter-community

Packages

These are the packages featured on the Flutter Community.

Name Release Description Maintainer
android_alarm_manager_plus Pub Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire. Miguel Beltran
android_id Pub Flutter plugin for retrieving the Android ID. Not supported on iOS. Joachim Nohl
android_intent_plus Pub Flutter plugin for launching Android Intents. Not supported on iOS. Miguel Beltran
app_review Pub Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. Rody Davis
backdrop Pub Backdrop implementation in dart. (https://material.io/design/components/backdrop.html) Harsh Bhikadia
breakpoint Pub A Flutter plugin to calculate the material design breakpoints. Rody Davis
sealed_unions Pub Sealed Unions for Dart George Medve
firestore_helpers Pub Firestore helper function to create dynamic and location based queries Thomas Burkhart
draggable_scrollbar Pub A scrollbar that can be dragged for quickly navigation through a vertical list. Additional option is showing label next to scrollthumb with information about current item. Marina Kuznetsova
after_layout Pub Execute code after the first layout of your widget has been performed, i.e. after the first frame has been displayed. Simon Lightfoot
flutter_blurhash Pub Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium Robert Felker
contacts_service Pub A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Lukas Dickie
flutter_downloader Pub A plugin for creating and managing download tasks. Supports iOS and Android. Hung Duy Ha
flutter_google_places Pub Google places autocomplete widgets for flutter. No wrapper, use https://pub.dartlang.org/packages/google_maps_webservice Kev Morelli
infinite_listview Pub ListView with items that can be scrolled infinitely in both directions. Simon Lightfoot
flutter_launcher_icons Pub A package which simplifies the task of updating your Flutter app's launcher icon. Mark O'Sullivan
flutter_sms Pub A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. Rody Davis
sticky_headers Pub Flutter Sticky Headers - Lets you place headers on scrollable content that will stick to the top of the container whilst the content is scrolled. Simon Lightfoot
flutter_uploader Pub A plugin for creating and managing upload tasks with optional background exection support. Sebastian Roth
wear Pub A plugin that offers Flutter support for Wear OS by Google NO MAINTAINER PROVIDED
flutter_webview_plugin Pub Plugin that allow Flutter to communicate with a native Webview. Rafal Wachol
flutter_whatsnew Pub A new Flutter package to show updates to users. Rody Davis
workmanager Pub Flutter Workmanager. This plugin allows you to schedule background work on Android and iOS. NO MAINTAINER PROVIDED
font_awesome_flutter Pub The Font Awesome Icon pack available as Flutter Icons. Provides 1500 additional icons to use in your apps. Brian Egan
get_it Pub Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App" Thomas Burkhart
get_version Pub Get the Version Name, Version Code, Platform and OS Version, and App ID on iOS and Android. Rody Davis
import_sorter Pub Automatically sort all your dart imports. Support for any dart project. Matthew Gleich
native_widgets Pub A new Flutter package for using Android and iOS natively on each platform. Rody Davis
page_turn Pub Page Turn Widget - Add a page turn effect to widgets in your app. Rody Davis
persist_theme Pub A flutter plugin for persisting the theme data. Support for Dark Mode. Rody Davis
redux Pub Redux is a predictable state container for Dart and Flutter apps John Ryan
redux_undo Pub Make your redux store undo- and redoable. Inspired by the JS redux_undo package. Michel Engelen
responsive_scaffold Pub On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Rody Davis
rx_command Pub Reactive event handler wrapper class inspired by ReactiveUI. Thomas Burkhart
state_persistence Pub Persist state across app launches. By default this library store state as a local JSON file called data.json in the applications data directory. Simon Lightfoot

Submitting your packages

If you'd like to submit your package to the Flutter Community GitHub organization, please see the Flutter Community Transfer Guide.

Getting in contact

For any questions regarding the Flutter Community, please open an issue on the /community repository.

Note to packages owners

Flutter Community aims to bring the best community-made packages forward. Because of this, not all proposed packages will be accepted.

font_awesome_flutter's People

Contributors

albrnick avatar alexandergottlieb avatar andychucs avatar ashotpilosian avatar bartektartanus avatar bcko avatar bensower avatar brianegan avatar britannio avatar chamed avatar daniel-hopkins avatar falkf avatar gslender avatar jinosh05 avatar michaelspiss avatar mortifactor avatar nohli avatar pplante avatar romainfranceschini avatar slightfoot avatar spencerlindemuth avatar stevensnary avatar ulrikkold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

font_awesome_flutter's Issues

Get random icon

Could you provide a way to get random icons?

Thank you :)

Add `fromString` method

Add fromString method that will allow creating icons from strings. Eg:

FontAwesome.fromString("addressCard") should return const IconDataRegular(0xf2bb)

You can do this by generating another file with Map<String, IconData>

Icon Box and padding don't resize

Screenshot 2020-01-30 at 23 13 07

this is what happens, the visible part of the icon gets bigger, but the box that is registered by the layout etc. doesn't resize so the whole layout doesn't work out. I ran flutter clean, restarted all the devices, deleted the app from simulator, tried on android, tried other icons (some don't misalign to the side, but same problem with the icon box).

Column(
                      children: <Widget>[
                        IconButton(
                          icon: Icon(
                            FontAwesomeIcons.mars,
                            size: 80,
                            color: Colors.white,
                          ),
                        ),
                        SizedBox(height: 15),
                        Text(
                          'MALE',
                          style: TextStyle(
                            fontSize: 18.0,
                            color: Color(0xFF8D8E98),
                          ),
                        )
                      ],
                    ),

Flutter Doc:
`Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.2 19C57, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)

• No issues found!

There was a new Flutter version available earlier when I ran flutter doctor, but the same result before and after.

I found a solution here, but it gets pretty hardcoded this way and wrapping the container in an expanded widget did nothing for me.

I apologise if this issue is messy or unnecessary, just let me know and I'l close it. I'm pretty new to this whole thing.

Fontawesome Spinner icon is not spinning

I have used spinner icon as below but some how it is not spinning. It is just stuck with load icon.

       Align(
               alignment: Alignment.centerRight,
               child: IconButton(
                 icon: Icon(
                   FontAwesomeIcons.spinner,
                   color: Colors.white,
                   size: [18.0,]
                 ),
                 onPressed: () {}
               ),
             ),

screen shot 2018-09-03 at 2 37 09 pm

Missing icons

Google icons are missing. I used: Icon(FontAwesomeIcons.googlePlus)
and this is the result:
screenshot 2019-01-22 at 10 07 59

Target URI doesn't exit.

import 'package:font_awesome_flutter/font_awesome_flutter.dart';

Target URI doesn't exit.

I added dependencies like this:

dependencies:
  flutter:
    sdk: flutter
    font_awesome_flutter: 8.4.0

Would be better if we can use the same image name while rendering in HTML.

Let say we need a addressBook Icon. In flutter we can render via Icon( icon.iconData, size: 100.0, ),

But when we want to use the same icon to render html page we have to use address-book. So, it would be better if you put key as real icons key like address-book by mapping the real name into that object property.

Showing Blank Boxes

Description

When Running on Android it is showing blank boxes for the Font Awesome Icons, and Showing the correct ones for Flutter Icons. This was working when I installed it last week. I have also run flutter clean but still no luck.

screenshot_20180507-101256

Flutter Doctor

Rodys-MBP:daily_nasa rodydavis$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.3 17D102, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 9.3)
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update, run:
        brew uninstall --ignore-dependencies libimobiledevice
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.23.0)
[✓] Connected devices (2 available)

! Doctor found issues in 1 category.

Dependency

font_awesome_flutter: 6.0.0

Use in Project

@override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        backgroundColor: Colors.white,
        title: new Text("Info"),
      ),
      body: new SingleChildScrollView(
        child: new ListBody(
          children: <Widget>[
            new Container(
              height: 10.0,
            ),
            new ListTile(
              leading: new Icon(FontAwesomeIcons.github),
              title: const Text('Github'),
              subtitle: new Text('@AppleEducate'),
              onTap: () {
                globals.Utility
                    .launchURL('https://www.github.com/appleeducate');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(FontAwesomeIcons.twitter),
              title: const Text('Twitter'),
              subtitle: new Text('@RodyDavis'),
              onTap: () {
                globals.Utility.launchURL('https://www.twitter.com/rodydavis');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(FontAwesomeIcons.facebook),
              title: const Text('Facebook'),
              subtitle: new Text('@RodyDavis'),
              onTap: () {
                globals.Utility.launchURL('https://www.facebook.com/rodydavis');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(Icons.apps),
              title: const Text('Apps'),
              subtitle: new Text('by Rody Davis'),
              onTap: () {
                globals.Utility.launchURL('https://www.rodydavis.com/apps');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(Icons.contact_mail),
              title: const Text('Contact'),
              subtitle: new Text('Submit Issues and Questions'),
              onTap: () {
                globals.Utility.launchURL('https://www.rodydavis.com/about');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(FontAwesomeIcons.spaceShuttle),
              title: const Text('NASA'),
              subtitle: new Text('All Images provided by API'),
              onTap: () {
                globals.Utility.launchURL('https://api.nasa.gov/');
              },
            ),
            new Divider(
              height: 20.0,
            ),
            new ListTile(
              leading: new Icon(Icons.info),
              title: const Text('Version'),
              subtitle: new Text('$_projectVersion ($_projectCode)'),
              trailing: new Text('$_platformVersion'),
            ),
          ],
        ),
      ),
    );
  }

Icons drawing outside of "bounds"

Hey,

I'm using font_awesome_flutter in a project but I'm having an issue I don't know how to work around. In the attached picture you can see that the icon draws outside of the "bounds" that I'm trying to layout. This is making it super difficult to center an icon in a circle, like I'm trying to in my app :)

Is this something happening in the package or is there a way to lay it out better in flutter?

Thanks for any help :)

image

wikipediaW not aligned properly

wikipediaW icon is not aligned in the center.

Work around to make it center:

Align(
            alignment: Alignment.centerLeft,
            child: Icon(FontAwesomeIcons.wikipediaW),
  )

Integrating font awesome pro

How can I add font-awesome pro features with this plugin?
Is there any way to integrate font awesome pro licence key with font-awesome-flutter so that all pro fonts are also available for use?

Get icon by original name

Nice work :)
Would be nice if there were a function to get Icons by there original name like:
FontAwesomeIcons.getByOriginalName('paint-brush');

if name dose not exists return the "?" :)

icon "fa-user" from Solid font-kit is inaccessible

Icon "fa-user" from Solid font-kit is inaccessible, instead we have the fa-user from regular font-kit.
Would be great if we could select which font style we want the icon. Something like FontAwesomeRegular.user and FontAwesomeSolid.user

Othe think, the icon "fa-mug-hot" is not in files yet.

Thank you in advance for attention!

Size not consistent with material design icons

Fontawesome icons are little bigger than Icons in material/package
Can you make them same size so its consistent across the app
There is a little padding around icons in material package

Dependencies Error

Because myapp depends on font_awesome_flutter >=4.7.1 <8.0.0 which requires SDK version <2.0.0, version solving failed.

How to use Regular and Brand icon formats?

Hello!
Sorry if this sounds "dumd" but the documentation says that the library contains Regular, Solid and Brand formats, but I can't figure out a way of how to use them.

Is this implemented? If yes, maybe a improved documentation could be very handy!

Thanks!

Installation Doesn't Work with Android SDK v#>2

Peters-MacBook-Pro:flutter patientplatypus$ flutter packages upgrade
The current Dart SDK version is 2.3.0-dev.0.5.flutter-a1668566e5.       
                                                                        
Because yaddayaddayadda depends on font_awesome_flutter >=4.7.1 <8.0.0 which requires SDK version <2.0.0, version solving failed.
Running "flutter packages upgrade" in flutter...                        
pub upgrade failed (1)

G+ icon overflows width

Hi :) I'm not sure if this is the right place to report this issue (apologies if not, just close it if so) -- but I'm having an issue with a specific icon - the G+ one, which seems to be wider than what it is reporting ..

So, this Flutter code:

                              children: [
                                new Icon(FontAwesomeIcons.googlePlus),
                                new Text('Logg inn med Google')
                              ]
                          ),

.. will cause the Icon to overlap the text on the right.

See example with the G+ icon in the second FlatButton here: http://i.imgur.com/TXAhJr2.png
Other icons, ie. the Facebook f and Google Plus squared work fine: http://i.imgur.com/HgDmmIj.png

Version 0.7.1 is incompatible with Dart SDK

After flutter upgrade I got error with following message as response to flutter packages get:

The current Dart SDK version is 2.1.0-dev.0.0.flutter-be6309690f.
Because app depends on font_awesome_flutter >=4.7.1 which requires SDK version <2.0.0, 
version solving failed.

Building failed.

[SOLVED] font awesome versions >8.0.0 doesn't work on dart 2.4.0 - black box icon only

hey there..
I'm having problem with installing this package, currently I'm using Dart 2.4.0 and when I tried installing font-awesome the version greater than 8.0.0.. didn't work, it shows me a black box only on all icons.

then I tried install other version and I get error when I run flutter packages get
Because MyApp depends on font_awesome_flutter >=4.7.1 <8.0.0 which requires SDK version <2.0.0, version solving failed.

any solutions?

Rectangular icons are centered incorrectly

image

Code sample:

new CircleAvatar(child: new Icon(FontAwesomeIcons.users,size: 70.0, color: Colors.white,),
        backgroundColor: Colors.orange, radius: 70.0,);

Next example (this time from your documentation). IconButton repeated three times in Row. As you can see one icon overlaps another.
image

var button = new IconButton(
    iconSize: 100.0,
    icon: new Center(child:new Icon(FontAwesomeIcons.gamepad,)),
    alignment: Alignment.bottomRight,
    onPressed: () { print("Pressed"); }
);
Row(mainAxisAlignment: MainAxisAlignment.center,children: <Widget>[button, button, button],)

Icon centering

Hey Brian,

I'm loving these icons, but some of them graphically seem shifted relative to their widget constraints - see how the 'users' icon is shifted to the right on this TabBar:

image

Not an issue that rears its head often, but some widget orientations (like the above icon cross-axis centered in a column) look pretty off without adjustment. Is there an easy fix?

See pictures of the icons

It is really handy to have pictures next to icons like flutter Icons. Any chance this might be implemented here, or idea how to do it so I can do it?

How to get icons to work

I dont see icons in the assets like in font-iconic but I see a builder. There is no example, and I cant get my head around it how to use the builder.

Could you please make some instructions in the readme how to generate icons?

Thank you

Handle same icon name with different style available

Hello,

Is there any way to have the same icon but with a different style ?
For example, font awesome icon heart is both present in Regular and Solid style. By default it is set to :

static const IconData heart = const IconDataRegular(0xf004);

But how can we handle :

static const IconData heart = const IconDataSolid(0xf004);

Have we to create a new const and add a new name like heart_solid ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.