Constructor with icon parameter

Issue #11 closed
Dirk Lemmermann created an issue

This just feels wrong:

FontAwesomeIcon icon = new FontAwesomeIcon(); icon.setIcon(FontAwesomeIcons.PLUS);

Please add a constructor that takes the icon right away:

FontAwesomeIcon icon = new FontAwesomeIcon(FontAwesomeIcons.PLUS);

Comments (2)

  1. Log in to comment