2018年12月24日

flutter event_bus

摘要: //1.定义事件类 class JohwenEvent{ static EventBus eventBus=new EventBus(); } //2.定义事件结构体 class EventData{ var str; EventData(this.str); } void initState() { super.initState(); //3.监听事件 Johw... 阅读全文

posted @ 2018-12-24 16:42 z-shang 阅读(303) 评论(0) 推荐(0) 编辑

导航