development compiler)
to produce a single JavaScript file

You can also include --web-renderer html  or --web-renderer canvaskit to
select between the HTML or CanvasKit renderers, respectively. For more
information, see Web renderers.

For more information, see
Build and release a web app.

Add web support to an existing app

To add web support to an existing project
created using a previous version of Flutter,
run the following command
from your project’s top-level directory:

flutter create

-platforms web