簡體   English   中英

集團和水合集團沖突

[英]Bloc & Hydrated Bloc Conflictions

在測試部分的 Codemagic 構建中出現錯誤。

 BlocDelegate' is not a subtype of type 'HydratedBlocDelegate' in type cast\n\nWhen the exception was thrown, this was the stack

這不是代碼魔術問題。 您正在使用帶有水合物塊的 felangels bloc 庫。 確保你打電話

BlocSupervisor.delegate = await HydratedBlocDelegate.build();

在您的主要 function 中,並且您沒有像在https://pub.dev/packages/hydrad_bloc 中那樣設置任何其他 blocsupervisors

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM