代码拉取完成,页面将自动刷新
fmovies is a multiplatform app for browsing new movies and fetching nearest cinemas. It is completely written in Dart and Flutter framework using BLoC pattern.
This app is not released in production because it is just a showcase what you can do with Flutter. We started this project as a playground for learning Dart and Flutter framework.
First of all you will need to setup your development environment. To
do that go to the official Flutter
documentation and follow
ve.
After flutter doctor
says everything is fine follow next steps:
flutter packages get
AndroidManifest.xml
<manifest>
<application>
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="YOUR KEY HERE"/>
</application>
</manifest>
import UIKit
import Flutter
import GoogleMaps
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey("YOUR KEY HERE")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
secrets.json
in /assets
directory and add TMDB
API key and Places API key{
"tmdb_key": "random_key",
"places_key": "random_key"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。