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 ↗
