fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 396 forks source link

Update README.md #541

Closed kyl3r92 closed 1 week ago

kyl3r92 commented 7 months ago

Changed "flutter_launcher_icons" to "flutter_icons" to fix broken example. The dependency should be "flutter_launcher_icons" (as is) but the paths need to be specified under "flutter_icons" (currently the example says "flutter_launcher_icons" which results in this error:

✗ ERROR: NoConfigFoundException No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml. In case file exists in different directory use --file option

0 createIconsFromArguments (package:flutter_launcher_icons/main.dart:85:7)

but changing it to "flutter_icons" works: Creating Icons for Web... Creating Icons for Windows... Creating Icons for MacOS...

✓ Successfully generated launcher icons

-> I actually had to google as the example wasn't working, but StackOverflow to the rescue: https://stackoverflow.com/questions/69509861/check-that-your-config-file-flutter-launcher-icons-yaml-has-a-flutter-icons

MarkOSullivan94 commented 1 week ago

Version v0.13.1 and onwards will allow you to use flutter_launcher_icons in your config