fluttercommunity / font_awesome_flutter

The Font Awesome Icon pack available as Flutter Icons
Other
834 stars 236 forks source link

Pro plan icons- error updating #178

Closed vladms closed 2 years ago

vladms commented 2 years ago

Hello, I've tried to upgrade to the pro version for use Font Awesome icons following the instrucions. When I run the .update script always shows this error: tool/generate_font.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.8. import 'dart:convert'; ^ ../../../../.pub-cache/hosted/pub.dartlang.org/recase-4.0.0/lib/recase.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.8. /// An instance of text to be re-cased. ^ ../../../../.pub-cache/hosted/pub.dartlang.org/recase-4.0.0/lib/recase.dart:7:8: Error: Expected ';' after this. late String originalText; I am using flutter 2.5.2 Stable channel. FontAwesomeFlutter 9.1.0

michaelspiss commented 2 years ago

Please run flutter clean and then flutter pub get in your project. This should fix your problem.