Change app Launcher icons-Flutter
In this article we will be discussing how to change the default app launcher icon to custom image in flutter.
To change the app launcher icon, add the following configurations to the pubspec.yaml file.
Get the latest version of the above dependency here 👇
flutter_launcher_icons | Dart Package
A command-line tool which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing…
also specify the image path that you need to set as the launcher icon.
create a folder structure as mentioned in the
image_path: and add the image that need to be set as the launcher icon for the app.
Once it is set run the command.,👇
flutter pub run flutter_launcher_icons:main
Now re-run the app once again and you can notice that the default flutter launcher icon will be removed and the image that we have provided in the
assets/icons/icon.png will be set as the launcher icon for that app.
Other articles you may like.,
If you want to know more about Flutter and various Widgets in Flutter…?🤓 Then visit my channel vijaycreations🚩