flutter one project for web and mobile code example
Example 1: how to enable flutter web
$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web
Example 2: running the build/web flutter
webdev serve
$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web
webdev serve