

So that was it! We are done updating the app icon as well.

Now that you have added these lines of code in the pubspec.yaml file, on your terminal execute the following set of commands. Note that at the time of writing this blog post, the latest version of the following mentioned package is 0.9.2 so accordingly, select the correct version in the future. dev_dependencies: flutter_launcher_icons: ^0.9.2 flutter_icons: android: true ios: true image_path: "assets/CoVAC.png" adaptive_icon_background: "#ffffff" adaptive_icon_foreground: "assets/custom_app_icon.png" Make sure you have put the icon file in the assets folder and mentioned the right path to it. The Flutter Dev Community has a dependency titled flutter_launcher_icons for the launcher icon where you can find more details.Īlright, so initially, head over to the pubspec.yaml file and add the following code.
#Flutter app icon generator android#
Now, head over to the following sites in order to generate a launcher icon for you Android and iOS supported application.ĭrag and drop your custom app icon over to these sites and download the file generated. The preferred resolution I would suggest would possibly have dimensions of 1024x1024. With various prototyping tools available, generate a beautiful icon for your application.

So the next time you run your application, it shows up with the name as mentioned above. That's it and we are done! With the above changes in the respective files we have our very own custom name for that fully fledged mobile applications. Path: ios/Runner/ist CFBundleName custom_app_name CFBundlePackageType Path: android/app/src/main/AndroidManifest.xml In order to set up a new name for both Android and iOS, changes in two of the files from the project directory, AndroidManifest.xml and ist must be done respectively.
#Flutter app icon generator apk#
But hey, what about the app icon? Well, the Flutter apk comes with a default icon provided by the Flutter Developer Community and we can change it and add our very own custom logo as our app icon!īy default, at the initial step of creating a Flutter Application, the name of the apk to be generated is the same as the one you provide it to the root directory. No doubt, sooner or later we realize the need to change its name. One of the common things I have come across while developing Flutter Applications is writing very generic names to the project folder.
