This blog post describes how to add an icon to a Flutter Linux Desktop app.
After installing the app, the app's icon should show up in the application menu.
Further, when the app is running, the app's icon should be in the launcher bar.
This functionality has nothing to do with Flutter, but needs to be configured in the Snap level.
snap folder, create a
gui subfolder. There create a desktop file, e.g.
succedo.desktop. In the "Icon" row needs to be a reference to the Snap metadata.
The icon should be placed in the same directory as the
desktop file. It can have either PNG or SVG format. For PNG images a file size of 256x256 pixels is recommended.