Flutter – Build and deploy web app
Build web app
- Open Project
- Run command
flutter build web - The output is in
<your_project_folder>/build/web
Try to run
- Open folder above (output) in Terminal
- Run command
python3 -m http.server 8000
3. Open this link in Browser
http://localhost:8000/
4. Enjoy your result
Deploy to Hostinger
- Login Hostinger with your account
- Tạo domain hoặc subdomain mới
- Vào trình “Quản lý tập tin”
- Upload toàn bộ file trong /build/web vào thư mục public_html.
- Enjoy your web.

