When I create an app with a flutter create command, the flutter logo is used as an application icon for both platforms.
flutter create
If I want to change the app icon,
The one marked as correct answer, is not enough, you need one more step, type this command in the terminal in order to create the icons:
flutter pub run flutter_launcher_icons:main