devise token authのexpiryをflutterで使う
expiryをflutterで使う場合は、castしてこんな感じで利用しますnew DateTime.fromMillisecondsSinceEpoch(int.parse(response.hea...
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 を入れたらタイトルのエラーが発生しました// だめRaisedButton( onPressed: () { print("入った");...
Another exception was thrown: RangeError (index): Invalid value: Valid value range is empty: 1
タイトルのエラーが発生調べたら初歩的で、ListViewのlengthをしていないと発生するらしいですこちらが解決後のコードListView.builder( itemCount: snapshot....
Columnの中でListView.builderが使えない
エラー内容══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞════════════════════════════════════════════════════...
deviseとdevise token authを共存させる方法
qiitaの記事とドキュメントを参考にしながら実装してみました手順gemの追加gem 'devise_token_auth'反映してdevise token authを追加bundle install...
Rails devise token auth + ReactNative || flutterの雛形コード
React Nativeとflutterの両方を使うことになったので、いつも使っているrails APIにつなげることができるようにしました。※React Nativeは割と綺麗に書きましたが、flu...
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の方に問...
SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 53452
flutterでローカルのAPIにつなげようとしたところタイトルのエラーが発生しました。解決方法はこちら//ダメfinal url = 'http://localhost:3001/api/auth'...
ChangeNotifierProxyProviderがうまく使えない問題
エラー内容The argument type 'Widget Function(BuildContext, Widget, dynamic)' can't be assigned to the par...