常見的程式專案資料夾結構

下面為常見的專案資料夾結構,不僅限於 Flutter 也可適用於其他程式的開發。由小而大排列順序如下:

  1. models 資料模板
  2. dao 資料存取
  3. services 資料加工 (沒有UI)
  4. component 資料渲染組件化 (有UI)
  5. screens 組件拼湊至頁面內

留言

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.