flutter new hard

https://book.flutterchina.club/

2019-04-01 · 1 min · word · Me

flutter dart Streams Future

https://www.appcoda.com.tw/flutter-introduction/ Dart 內建支援 Streams 及 Future。我的 RxJava 經驗有助我了解 Streams,而在 ES6 Promise 方面的經驗則有助我理解 Futures 和 Async/Await 的概念

2019-04-01 · 1 min · 16 words · Me

flutter printing

https://github.com/DavBfr/dart_pdf/tree/master/printing/example/lib Problem is here. image: const fw.NetworkImage('https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&s=200'), Change to import 'package:flutter/painting.dart' as fp; find this and change image: new fp.AssetImage("images/a123.png"), OK~

2019-04-01 · 1 min · 21 words · Me

flutter Error PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google 1、add google-service A:add classpath ‘com.google.gms:google-services:4.2.0’ %app%/android/build.gradle buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.google.gms:google-services:4.2.0' } } B:add apply plugin: ‘com.google.gms.google-services’ %app%/android/app/build.gradle apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply plugin: 'com.google.gms.google-services' 2、 get google-service.json https://firebase.google.com/docs/flutter/setup https://developers.google.com/android/guides/client-auth create app A:create test project go https://console.firebase.google.com/ B:create application Where get app name Open %app%/android/app/build.gradle find applicationId defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.flutter_sqlite" minSdkVersion 16 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } Here is com.example.flutter_sqlite ...

2019-03-22 · 1 min · 142 words · Me

flutter Undefined class 'IOClient'

https://pub.dartlang.org/packages/http#-changelog-tab- https://stackoverflow.com/questions/48477625/how-to-use-google-api-in-flutter/48485898#48485898 The library ‘package:http/http.dart’ doesn’t export a member with the shown name ‘IOClient’ Answer: import 'package:http/io_client.dart';

2019-03-21 · 1 min · 17 words · Me