Build and release a Linux app to the Snap Store

Prerequisites

Set up the build environment

Install snapcraft
Install Multipass
Install LXD

Overview of snapcraft

Flutter snapcraft.yaml example

Metadata
Grade, confinement, and base
Apps
Parts

Desktop file and icon

Flutter super-cool-app.desktop example

Build the snap

Publish

Snap Store channels
Snap Store automatic review

Additional resources

During a typical development cycle,
you test an app using flutter run at the command line,
or by using the Run and Debug
options in your IDE. By default,
Flutter builds a debug version of your app.

When you’re ready to prepare a release version of your app,
for example to publish to the Snap Store,
this page can help.