Adding icons to your app
Icons help users identify your app on their devices, and they are also a requirement to publish your app into the stores.
In this recipe, you will see how to automatically add icons to your app in all the required formats by using a Flutter package called flutter_launcher_icons
.
Getting ready
Before following along with this recipe, you should have completed all the previous recipes in this chapter, or at least those that target your specific platform (iOS or Android).
How to do it...
You will now add the flutter_launcher_icons
package to your app and use it to add icons to your iOS and Android apps. Follow these steps:
- Create a new directory in the root of your project, called
icons
. - Create or retrieve an icon for your app if you haven’t already added one, and place it in the
icons
directory.You can get an icon for free at several websites, including https://remixicon.com/. If you use this specific...