Skip to content

Commit 604ff48

Browse files
committed
Fix #253 by adding @staticIconProvider annotation
1 parent c282603 commit 604ff48

File tree

7 files changed

+4
-1
lines changed

7 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 10.6.0
22
* Upgrade to Font Awesome 6.4.2
3+
* Add @staticIconProvider annotation
34

45
## 10.5.1
56
* Hotfix #244 - regular font still used

lib/font_awesome_flutter.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export 'package:font_awesome_flutter/src/icon_data.dart';
88
// THIS FILE IS AUTOMATICALLY GENERATED!
99

1010
/// Icons based on font awesome 6.4.2
11+
@staticIconProvider
1112
class FontAwesomeIcons {
1213
/// Solid 0 icon
1314
///

lib/fonts/fa-brands-400.ttf

0 Bytes
Binary file not shown.

lib/fonts/fa-regular-400.ttf

0 Bytes
Binary file not shown.

lib/fonts/fa-solid-900.ttf

0 Bytes
Binary file not shown.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ flutter:
4343
# - family: FontAwesomeThin
4444
# fonts:
4545
# - asset: lib/fonts/fa-thin-100.ttf
46-
# weight: 100
46+
# weight: 100

util/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ List<String> generateIconDefinitionClass(
342342
'// THIS FILE IS AUTOMATICALLY GENERATED!',
343343
'',
344344
'/// Icons based on font awesome $version',
345+
'@staticIconProvider',
345346
'class FontAwesomeIcons {',
346347
]);
347348

0 commit comments

Comments
 (0)