
In the same pubspec.yaml file, add the following configuration: flutter_icons:Īssuming you’ve already designed your icons, the image_path attribute is the location of your icon file in the project folder. There’s three variables to set: android, ios and image_path.
#Andriod app icon generator android
This involves stating where to find your icons and whether to apply them to iOS, Android or both. dev_dependencies:įlutter_launcher_icons: ^0.7.4 Configuring Icons

Paste the following under dev_dependencies to signal the build script to use the flutter_launcher_icons package. Go to the root of your Flutter project and open your pubspec.yaml file. Installing Flutter Launcher IconsĪfter creating a standard Android Studio project, installing the flutter_launcher_icons package is the next step. Below, I outline the step-by-step process of setting up app icons for both iOS and Android using the flutter_launcher_icons package. As such, it’s extremely important to set clean and unique icons for a great first impression. They’re the first things we see before clicking on or developing an application. What is an App Icon?Īpp, or application, icons represent your app in stores and in the user’s app drawer when installed. With the release of Flutter Launcher Icons by the Flutter development team, app icon generation can be automated and executed instantly. Each respective Android and iOS version of a project required copying and replacing default icons in your res & assets folders. Until recently, setting up app icons in Flutter app projects was a long and arduous process.
