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 395 forks source link

[BUG] Not all futures are awaited so impossible to create a dart custom dart script #550

Open vanlooverenkoen opened 6 months ago

vanlooverenkoen commented 6 months ago

:information_source: Info

Version: 0.13.1

:speech_balloon: Description

We are creating a dart script that just configures everything in dart. I found that not all futures are awaited resulting in a bug in my script.

:scroll: Pubspec.yaml

No other dependencies

vanlooverenkoen commented 6 months ago

On top of that,

.then & await is used throughout the package in different ways.

Also writing files is sometimes done with .then & something it is done with the sync method.