Flutter change app icon
- Go to https://icon.kitchen and design your icon. Select Circle shape. Download and unzip. In the mipmap-xxxhdpi directory under android rename the largest file to icon.png. Then copy this file to the flutter app images directory.
- Under dev_dependencies in pubspec.yaml, add the following:
flutter_launcher_icons: ^0.13.1 flutter_icons: android: 'launcher_icon' ios: true image_path: 'images/icon.png' - Run the following commands:
flutter pub get flutter pub run flutter_launcher_icons:main - Run the app and verify that the new icon is displayed.
No Comments