Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change app icon and app name for Flutter Desktop application?

I'm using Flutter to develop Windows desktop application, but don't know how to change the name and icon for the application.

like image 858
billcyz Avatar asked Sep 14 '25 14:09

billcyz


1 Answers

I think I've found the solution. The following should work for Windows application:

To change application icon: Simply put icon file under windows/runner/resources folder, and change the IDI_APP_ICON part in windows\runner\Runner.rc file to your icon file name.

To change application name: Open windows/runner/main.cpp file, and change your application name inside window.CreateAndShow function.

like image 191
billcyz Avatar answered Sep 16 '25 08:09

billcyz