最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

A way to mock SharedPreferencesAsyncSharedPreferencesWithCache in flutter - Stack Overflow

programmeradmin1浏览0评论

I have seen SharedPreferences.setInitialMockValues or something like that. Still, since SharedPreferences has become a legacy API and with the new SharedPreferencesAsync/SharedPreferencesWithCache API, I cannot find a way to create mocks for them for testing.

发布评论

评论列表(0)

  1. 暂无评论