Replacing Flutter App Icon on Android and iOS
Here are the steps to replace the app icon on both Android and iOS:
- Prepare your app icon in PNG format. The recommended size for the app icon is 512x512 pixels.
- Go to an App Icon Generator Website like this one (opens in a new tab)
- Upload your app icon and select Android, iPhone and iPad.
- Download the app icons file.
- Replace the contents of the file in the code.
Android
the app icons path is under android/app/src/main/res/
.
iOS
the app icons path is under ios/Runner/Assets.xcassets/AppIcon.appiconset/