How to Change below Icon in flutter. it is happening in Nokia 8.1. App Icon in drawer is correct.
Below is my current res folder
How to Change below Icon in flutter. it is happening in Nokia 8.1. App Icon in drawer is correct.
Below is my current res folder
Right click on the android folder in the project outline. Go to New > Image Asset. (Try right clicking the android/app folder if you don't see Image Asset as an option.) Now you can select an image to create your launcher icon from.
This will replace the current launcher icons. You can find the generated icons in the mipmap folders:
If you are intending to have your application be multi-platform, then there is a dart package you can use which takes care of generating launcher icons for both platforms.
You use it like so:
flutter_launcher_icons: ^0.7.4
In your pubspec.yaml file include the following attributes (based on your desires)
Make sure to get packages (
flutter pub get
)You can read more in the documentation.