Changing Icons of Flutter android app.
Go to your pubspec.yaml file .mention the flutter_launcer_icons in dev dependency
Run the following command in your terminal
Flutter pub get
to get latest packages called to your app directory so that app will understand when you import the package.
Go back to Pubspec.yaml file again ,mention icon’s image name and path.
In my case job performance.png
image path: 'assets/images/icon.png'
Then put the following command and run .
flutter pub run flutter_launcher_icons:main
You will see following screen ,if everything goes correct.app’s icon will be updated