Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

47 lines (39 sloc) 1.05 KB

Music UI Flutter Web.

Web Set up

Run the following commands to use the latest version of the Flutter SDK from the beta channel and enable web support:

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

Create and run

To create a new app for use with web support (in addition to mobile support), run the following commands, substituting myap with the name of your project:

flutter create myapp
 cd myapp

To serve your app from localhost in Chrome, enter the following from the top of the package:

flutter run -d chrome

Add web support to an existing app

To add web support to an existing project, run the following command in a terminal from the root project directory:

 flutter create .

To serve your app from localhost in Chrome, enter the following from the top of the package:

 flutter run -d chrome

Build

Run the following command to generate a release build:

 flutter build web
You can’t perform that action at this time.