aaronoe/FlutterCinematic
我的“电影”应用的 Flutter 克隆
- Stars
- 902
- Forks
- 270
- 最近推送(UTC)
- 2020年10月1日
- 项目状态
- 未归档
技术话题
使用的依赖
依赖清单 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"}
所在榜单
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
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
In App Experience
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