Commit cbfd62a0 authored by Brian Egan's avatar Brian Egan

Upgrade to font awesome 5.1.0

parent 06cc595a
## 7.1.0
* Upgrade to font awesome icons 5.1.0
## 7.0.0
* Renames:
......
This diff is collapsed.
This diff is collapsed.
......@@ -2,7 +2,7 @@ name: font_awesome_flutter
description: The Font Awesome Icon pack available as Flutter Icons
author: Brian Egan <brian@brianegan.com>
homepage: https://github.com/brianegan/font_awesome_flutter
version: 7.0.0
version: 7.1.0
dependencies:
flutter:
......
......@@ -17,7 +17,7 @@ void main(List<String> arguments) {
for (String iconName in icons.keys) {
var icon = icons[iconName];
List<String> styles = icon['styles'];
List<String> styles = (icon['styles'] as List).cast<String>();
if (styles.length > 1) {
if (styles.contains('regular')) {
......
......@@ -18,7 +18,7 @@ void main(List<String> arguments) {
for (String iconName in icons.keys) {
var icon = icons[iconName];
var unicode = icon['unicode'];
List<String> styles = icon['styles'];
List<String> styles = (icon['styles'] as List).cast<String>();
if (styles.length > 1) {
if (styles.contains('regular')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment