Home > Net >  How to change the name of windows app in flutter?
How to change the name of windows app in flutter?

Time:02-02

Question No 1: I am developing a windows app during this I have to change the name "admin_panel" to "Admin Panel" And in Runner.rc file I have changed the OriginalFilename to "Admin Panel.exe" but it shows admin_panel at the top. enter image description here

Question No 2: And also I will be grateful towards you if you also provide the information regarding app icon. I was trying to use png file but it's not working. It needs ico file. I also tried to change the extension of image from png to ico but it still not working. So, how can I change that png file into desktop app icon.

CodePudding user response:

Try changing ProductName

"ProductName","Admin Panel"

To change the icon you just need to replace the icon file in your project:

Windows: windows/runner/resources/app_icon.ico macOS: macos/Runner/Assets.xcassets/AppIcon.appiconset

if still not updated the icon try flutter clean

CodePudding user response:

I think this might help you, It is post about windows icon and name changing. https://stackoverflow.com/a/66814851/15042224

  • Related