Web Configuration

Estimated reading: 1 minute 226 views


Run the commands to use the latest version of the SDK from the beta channel and enable web support (hit command one by one).

$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web


Running flutter channel beta replaces your current version of Flutter with the beta version and after this, running the flutter upgrade upgrades your install to the latest beta. Returning to the stable channel (or any other) requires calling flutter channel explicitly

Adding Web support in existing app

To Web support to the existing app project, run the command in a terminal from the root directory.

$ flutter create .


After forming this command restarts the Android studio.

Run Project

Select Chrome or any preferred browser and run the project.

Leave a Comment