/netlify-plugin-flutter

Build and Deploy Flutter Web Applications on Netlify

Primary LanguageDartMIT LicenseMIT

Netlify Flutter Build Plugin

Netlify Build Plugin adding support to build Flutter web apps to Netlify.

Install

Please install this plugin from the Netlify app.

Manual installation:

$ npm install -D netlify-plugin-flutter

Add the following to your Netlify site's netlify.toml file:

[[plugins]]

  package = "netlify-plugin-flutter"

   [plugins.inputs]
    channel = "stable"

[build]

command = "flutter build web --release"
publish = "build/web"

Configuration

The following inputs options are available.

Name Type Default Description
channel string stable Flutter channel to install.

These options should be written in the netlify.toml file as in the example bellow.