FlutterCinematic
我「電影」應用的 Flutter 克隆
- 星標
- 902
- 分支
- 270
- 最近推送(UTC)
- 2020年10月1日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter Cinematic
This app is a Flutter port of the native Android App Cinematic. My intention in creating this app was understanding the intricacies of building apps in Flutter. Just like the native Android App this app does not make any efforts in being a nicely architectured application. That being said the whole point is to showcase Flutter's capabilities for building simple apps and to understand key difference and advantages to native development.
Overview
The app uses the Movie DB Public API as a data sources and uses the standard dart libraries for making network requests.
In terms of UI, the goal was replicating the Android design as closely as possible to understand the possibilities that Flutter offers for crafting UIs.
Building from Source
To build this app from source you will have to obtain an API-key from TMDB right here.
Set this key to the constant API_KEY in constants.dart to run the app.
Additionally, the app now uses Dart2 which means that you should enable that in your IDE if you haven't done so yet.
Video
Learnings
Creating this app and learning Flutter in general felt like a gift for developers. It significantly increased development velocity by, amongst others, reducing development cycles and the ability to create reactive, modular components. Coming from the realms of Android, those are the things that stood out to me:
- Creating beautiful UIs is easier with Flutter
- Avoiding to write boilerplate code (XML layouts, adapters etc.)
- Creating UIs in a declarative way without dealing with the shortcomings of Android's Databinding
- Hot Reload - this one is a game-changer
- Dart is not that bad of a language, but it doesn't get close to Kotlin. I think for the Usecase of Flutter Dart actually makes a lot of sense
- The ability to not worry about state changes in the UI. The Widget will take care of the rendering using it's properties or state
License
This project utilizes the MIT License
分類
使用的依賴
依賴清單 9 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^0.1.0 - url_launcher
^3.0.0 - intl
^0.15.2 - flutter_search_bar
^2.0.2 - rxdart
^0.16.5 - scoped_model
^0.2.0 - shared_preferences
^0.4.1 - flutter_test開發依賴
{"sdk":"flutter"}
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
