The flutter plugin

This flutter plugin is useful for building Flutter based parts.

ⓘ This plugin is only available to core and core18 based snaps. See Base snaps for details.

This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.

base: core18 | core

This plugin uses the following plugin-specific keywords:

  • flutter-revision (string)
    Defines which Flutter revision to use for the build. This must be a valid revision from the Flutter repository.
  • flutter-target (string, default: lib/main.dart)
    The main entry-point file of the application.

For examples, search GitHub for projects already using the plugin.

Requires Snapcraft version 4.1.1.

ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.