How to use SharedPreferences with BLoC and Provider to decide if to load home page or login page and remove error with object null

前端 未结 0 658
野性不改
野性不改 2021-01-07 00:40

I have a method that loads the user with \'shared preferences\' from the package. My problem is to call an api with the parameter token because when requesting the loadUser(

相关标签:
回答
  • 消灭零回复
提交回复
热议问题