'How can I change App's Icon dynamically in Android and iOS Flutter

I want to change my app's icon from inside app in Android and iOS. How can I achieve this to my app



Solution 1:[1]

Its imposible to change app icons inside app. To change the application icon you need to configure it inside the android folder (manifest, drawable...) and in the ios folder. So when the application is built, it is stored and the icon is selected. It is not possible to change it without doing a new build.

Solution 2:[2]

you can use this package I hope it can help you

flutter_dynamic_icon: ^2.0.0

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Maikzen
Solution 2 Mohamed Khaled Selim