Flutter super-cool-app.desktop example

Place the .desktop file in your Flutter project 
under <project root>/snap/gui/super-cool-app.desktop.

Notice: icon and .desktop file name must be the 
same as your app name in yaml file!

For example:

Place your icon with .png extension in your Flutter 
project under <project root>/snap/gui/super-cool-app.png.

Build the snap

Once the snapcraft.yaml file is complete,
run snapcraft as follows from the root directory
of the project.

To use the Multipass VM backend:

snapcraft

To use the LXD container backend:

snapcraft

-use-lxd

Publish