profile pic

Precise Asteroid

Welcome to Amir's Blog 👋

Building a site with Flutter


How and why I built a site with Flutter 🚀 :smile:

Setting up the site

  • Buy a custom domain with Namecheap
  • Add a Netlify site
  • Follow this link to buld flutter app
  • Build command: if cd flutter; then git pull && cd ..; else git clone; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
  • Publish directory: build/web
  • Go to Netlify, Set netlify NDS, you will get a list of custom hostnames etc
  • @Namecheap set custom DNS placing all these custom hostnames
  • Wait 48 hours till the site is up and running :smile:

Made by Amir 💚