Building a Flutter app with classic confinement


My app is a GUI for Multipass, it communicates with the installed Multipass via bash, therefore it requires classic confinement, however, I’m only able to build it using strict and devmode, when I set the confinement to classic I get the following message:

Failed to load extension ‘flutter-stable’: this extension does not support ‘classic’ confinement. Either use a different extension, or use a confinement setting supported by this extension.

is there a workaround?

I published it to the beta channel

but right now it can only be installed from the command line, by adding --dangerous --devmode sudo snap install --beta multighost --devmode

However, I would like to make it available in the store, wherein it can be installed without --devmode

The source code: