If you want to compile your app to run on the web, you must enable this feature (which is currently in beta). To enable web support, use the following instructions:
$ flutter channel beta
$ flutter upgrade
$ flutter config --enable-web
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project: