EventBus class

跨页面事件发送 监听--发送

Constructors

EventBus.getDefault()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() → void
取消全部
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String key, dynamic event) → void
发送事件
register(String key, EventListen listen, {bool replace = true}) bool
注册监听
toString() String
A string representation of this object.
inherited
unregister(String key) bool
取消注册 页面销毁等情况

Operators

operator ==(Object other) bool
The equality operator.
inherited