How to enable flutter web? [Updated]

Vivek Yadav
1 min readSep 14, 2019

--

You have already worked with flutter. Now you know flutter’s structure.

We have an android, ios folder there. We want a web folder there as well.

So let’s get started….

Step 1: Ensure your flutter SDK is updated. If not then do this else skip step 1.

Note: Previously channel was dev now it is beta .


flutter channel beta ( it will switch current branch to development branch)
flutter upgrade (it will upgrade the flutter sdk)

You can verify your flutter version using:

flutter --versionFlutter 1.10.1 • channel dev • https://github.com/flutter/flutter.git
Framework • revision ce45c2d3e6 (7 days ago) • 2019-09-06 20:11:41 -0400
Engine • revision b9ce2500d9
Tools • Dart 2.5.0 (build 2.5.0-dev.4.0 be66176534)

Step 2: Enable WEB support

flutter config --enable-web       (it will enable web in flutter sdk)

That’s it.

Now you can create project and you will see web folder along with android and ios.

Let me know if you find difficult to do this. I would love to solve your problems.

Note : Still confused refer this : https://flutter.dev/docs/get-started/web

Connect with me on: Github Twitter LinkedIn Instagram Youtube Patreon

#HappyCoding #flutter

**Subscribe for upcoming posts. Thanks for reading. Let me know what you think about this post.

--

--

Vivek Yadav
Vivek Yadav

Written by Vivek Yadav

Writer , Speaker, Instructor and Flutter Dev

Responses (3)