flutter-architecture
使用 Get_It、狀態管理、SQFlite、Dio、StorageHelper、ConnectionHelper、自訂組件等的 Flutter MVVM 潔淨架構
- 星標
- 182
- 分支
- 36
- 最近推送(UTC)
- 2020年6月28日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter Architecture
This project structure was made thinking in productivity and easy maintenance.
What it brings ?
-
Clean Architecture and MVVM
-
Get_It for dependency injection
-
For state management, you have two options:
BRANCH master -> RxDart
BRANCH mobx -> Mobx
-
SQFlite to work with SQLite
-
HTTP requests using Dio
-
Helper for store data on device using Shared Preferences with a helper class
-
Helper for check connection status
-
Custom classes for page transitions animated (fromLeft, from Top, fromBottom and fromRight)
-
Custom Widgets like LoadingWidget, CardViewWidget, Toast, Snackbar, ModalWidget, Dropdown, CustomDrawer and more
-
The "values" folder, you will find the files:
- "dimens": to set sizes defaults for margin, font, etc
- "colors" set the color pallet
- "theme": set the app's theme
分類
使用的依賴
依賴清單 14 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^0.1.2 - flutter_launcher_icons
^0.7.3 - dio
^3.0.9 - shared_preferences
^0.5.2 - fluttertoast
^3.1.0 - image_picker
^0.6.1+4 - flutter_speed_dial
^1.2.4 - intl
^0.16.0 - connectivity
^0.4.6+2 - sqflite
^1.2.0 - get_it
^4.0.2 - rxdart
^0.24.1 - flutter_test開發依賴
{"sdk":"flutter"}
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗