BlocEvent<T> class

These are the objects that are propagated up

Constructors

BlocEvent(BlocEventType<T> eventType)
eventType helps categorize this event for its listeners.

Properties

depth int
Shows how many event channels this event has passed through.
getter/setter pair
eventType BlocEventType<T>
Helps categorize this event for its listeners.
final
hashCode int
The hash code for this object.
no setterinherited
isUserInitiated bool
Whether this event was userInitiated or not.
no setter
propagate bool
This is a flag that tells event listeners that this has been handled already. Note that this flag can be ignored.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timesHandled int
Shows how many listeners have reacted to this event.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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