The following assertion was thrown while handling a gesture:
Navigator operation requested with a context that does not include a Navigator.
The context used to push or pop routes from the Navigator must be that of a widget that is a
descendant of a Navigator widget.

flutterでRaisedButton にNavigator を入れたらタイトルのエラーが発生しました 参考記事 【Flutter】画面遷移でのエラーについて

Another exception was thrown: RangeError (index): Invalid value: Valid value range is empty: 1

タイトルのエラーが発生 調べたら初歩的で、ListViewのlengthをしていないと発生するらしいです こちらが解決後のコード 参考記事 RangeError (index): Invalid value: Valid …

deviseとdevise token authを共存させる方法

qiitaの記事とドキュメントを参考にしながら実装してみました 手順 gemの追加 反映してdevise token authを追加 マイグレーションファイルは必要なカラムのみでOKなので、こんな感じに修正 initファ …

Rails devise token auth + ReactNative || flutterの雛形コード

React Nativeとflutterの両方を使うことになったので、いつも使っているrails APIにつなげることができるようにしました。 ※React Nativeは割と綺麗に書きましたが、flutterは最後のリ …

Filter chain halted as :validate_sign_up_params rendered or redirected Completed 422 Unprocessable Entity in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms | Allocations: 193)

flutterでrailsのdevise token authに新規登録にリクエストを投げたところ、タイトルのエラーが発生 pry-remoteで確認したところ中身がなかったので、flutterの方に問題がある可能性 f …

SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 53452

flutterでローカルのAPIにつなげようとしたところタイトルのエラーが発生しました。 解決方法はこちら 参考記事 SocketException: OS Error: Connection refused, errn …

ChangeNotifierProxyProviderがうまく使えない問題

エラー内容 ChangeNotifierProxyProvider のbuilderに適切な情報を入れているはずなのにエラーが消えなかったので調べてみたところ、4系からはbuilder ではなくupdate を使うらしい …

iOSエミュレーターのキー入力リスト

キーボード出現させたり、ペーストさせたりの情報をまとめておきます 主に自分ようです キーボード出現させる 同時に押すことでキーボードを出すことができる。消すときも同じコマンド。 ペースト 参考記事 Xcode 6: Ke …