Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to deploy a flutter website with high quality?

How to deploy a flutter website with high quality in pixels, perform fast to run the website, download images and animations?

What command do I have to write on the terminal in order to achieve this?

What kind o steps do I have to do?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Thank you in advance

>Solution :

To correctly optimize and set up a flutter web app for production refer to the official Flutter documentation, which goes very deep on tips and to-dos when preparing for a deployment.

When you feel comfortable with the changes, prepare and deploy your app.
The Flutter documentation helps us deploy a web app and is really well written!

Here is the link

Since you are asking for a "command" to run in the terminal:

as written in the documentation under the "Building the app for release" section:

Build the app for deployment using the flutter build web command. You can also choose which renderer to use by using the –web-renderer option

So use the following command to build your app:

flutter build web
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading