0%

Flutter Tutorial 0x01

Installation and Configuration

Installation

For this part, please have a look at Flutter Official Website.

Configuration for web support

For now, to have the web support, we need to change to dev channel with the following command:

1
2
flutter channel dev
flutter upgrade

Then we need to enable the web support:

1
flutter config --enable-web

The last step is going to the project directory and apply those changes to our existing project:

1
2
3
cd <into project directory>
flutter create .
flutter run -d chrome --web-port=8080

If you don’t have any project, using

1
flutter create <project name>