Netlify Build Plugin adding support to build Flutter web apps to Netlify.
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"
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.