Flutterでカメラ画面で特定の枠を切り抜いているようなUIの実装で少し時間をとってしまったので、記事にしておいてみました Stackで重ねる方法など色々チャレンジしたのですが、最終的にclipするという方法に落ち着い …
カテゴリーアーカイブ: Dart
VimでFlutterを使う方法
こちら参考になりましたー 参考記事 https://medium.com/u-zero/neovim%E3%81%A7flutter%E3%82%92%E9%96%8B%E7%99%BA%E3%81%99%E3%82%8 …
ターミナルからiOSを起動する方法
参考記事 How can I launch the iOS Simulator from Terminal?
Mockito + Dio + Flutter
かなり苦労しましたが、こんな感じで実装可能です 参考記事 Simulating HTTP request/response workflow for effective testing in Dart/Flutter v …
flutterテストの参考記事
https://qiita.com/ko2ic/items/78c4a035a0aef9cfc78d
Flutterでsplashスクリーンを実装する方法
https://pub.dev/packages/flutter_native_splash これで実装できました。
/build/ios/iphoneos/Runner.app. ではなく/build/ios/archive/Runner.xcarchive.を生成する方法
リリース用のアーカイブ生成するためにひたすらios でやっていて、リリースまでいけませんでしたが、よく考えてみたらipaじゃないか?的なことを考えて試したところいけました 参考記事 Build and release a …
“/build/ios/iphoneos/Runner.app. ではなく/build/ios/archive/Runner.xcarchive.を生成する方法” の続きを読む
FlutterでGoogleService-info.plistの更新が全くかからない時の対処法
結論、GoogleService-info.plistはAndroid StudioじゃなくてXcodeに貼り付けろ、です 環境ごとにFirebaseを分けて色々といじっていたら、Firebaseで発行したtokenをA …
Command PhaseScriptExecution failed with a nonzero exit code
まずはこちらを追加 podfileの末尾にこちらを追加 次はpodを更新 その後にビルドを実行したら下記のエラーが発生 次はこちらを実行 参考記事 Xcode 12, building for iOS Simulator …
“Command PhaseScriptExecution failed with a nonzero exit code” の続きを読む
Error: [core/not-initialized] Firebase has not been correctly initialized. Have you added the Firebase import scripts to your index.html file?
flutterをwebで走らせたらタイトルのエラー発生 どうやらfirebaseをimportできていないことが問題っぽいので、 web/index.html にこちらを追記 これでいけました 参考記事 Web Inst …