Change App Icon

1.Go to the Windows Runner Folder

- your_project/windows/runner/resources

2.Replace the Icon

l You’ll see a file called app_icon.ico.

l Replace it with your own icon (.ico format).

Make sure the name is still app_icon.ico.

You can convert your PNG/JPG to .ico using free tools like icoconvert.com or any image editor.

1. Rebuild the Project

Run:

- flutter clean

- flutter pub get

- flutter build windows

4.Run Your App

- flutter run -d windows

Now, your Windows app will display the new logo in the taskbar and window title.

OR

Add your Flutter Launcher Icons configuration to your pubspec.yaml.

An example is shown below.

dev_dependencies:

flutter_launcher_icons: "^0.14.4"

flutter_launcher_icons:

windows:

generate: true

image_path: "path/to/image.png"

icon_size: 48 # min:48, max:256, default: 48

macos:

generate: true

image_path: "path/to/image.png"

Last updated