flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

4.2.0版本 removeListener = BoostChannel.instance.addEventListener("yourEventKey", (key, arguments) { ///deal with your event here return; });

Open LiFuPeng opened this issue 2 years ago • 3 comments

4.2.0版本 按照文档接入,在flutter接收事件的方法,报错: removeListener = BoostChannel.instance.addEventListener("yourEventKey", (key, arguments) { ///deal with your event here

  return;
});

这个方法报错,烦请完善开发文档

LiFuPeng avatar Dec 05 '22 07:12 LiFuPeng

需要返回一个Future

lanyuzx avatar Feb 07 '23 03:02 lanyuzx

state.removeListener = BoostChannel.instance.addEventListener("yourEventKey", (key, arguments) { ///deal with your event here return Future(() => null); });

Ldies avatar Feb 21 '23 03:02 Ldies

state.removeListener = BoostChannel.instance.addEventListener("yourEventKey", (key, arguments) { ///deal with your event here return Future(() => null); });

启动后,页面展示不出来

maolinding avatar Apr 07 '23 09:04 maolinding