flutter run web command code example
Example 1: how to enable flutter web
$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web
Example 2: flutter build for web
flutter build web
$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web
flutter build web