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.
dev_dependencies:
flutter_launcher_icons: "^0.7.3"
Get the latest version of the above dependency here 👇
also specify the image path that you need to set as the launcher icon.
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
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.
Video Tutorial:
Other articles you may like.,
AnimatedContainer Widget in Flutter
Flutter Tutorials
If you want to know more about Flutter and various Widgets in Flutter…?🤓 Then visit my channel vijaycreations🚩
Thanks.,