[英]Bad State: Cannot add new events after calling close - Flutter Modular
當我返回主頁並第二次訪問 ProductsPage 時,我遇到以下錯誤“錯誤 State:調用關閉后無法添加新事件” 。 產品也是第一次加載但是當我嘗試再次加載 ProductsPage 時,會拋出此錯誤。 我的集團代碼是: 我不明白為什么會發生此錯誤 ...
[英]Bad State: Cannot add new events after calling close - Flutter Modular
當我返回主頁並第二次訪問 ProductsPage 時,我遇到以下錯誤“錯誤 State:調用關閉后無法添加新事件” 。 產品也是第一次加載但是當我嘗試再次加載 ProductsPage 時,會拋出此錯誤。 我的集團代碼是: 我不明白為什么會發生此錯誤 ...
[英]Null check operator error when widget testing using Flutter Modular's context.watch extension
我第一次使用 Flutter 模塊 package,可能做錯了什么,但是每當我使用使用 Flutter 模塊context.watch的小部件運行小部件測試時,我都會得到一個Null check operator used on a null value錯誤。 context.watch擴展方法。 ...
[英]how to set up RouteGuard in Flutter Modular for Firebase authentication
目前,根據文檔( https://firebase.flutter.dev/docs/auth/usage#authentication-state )檢查用戶是否登錄 Flutter Fire 的方法: 根據文檔( https://modular.flutterando.com.br/docs ...