EventHandler class
Description of a callback in an RFW widget declaration.
This represents a signal to send to the application using the RFW package. Typically applications either handle such messages locally, or forward them to a server for further processing.
- Inheritance
-
- Object
- BlobNode
- AnyEventHandler
- EventHandler
Constructors
- EventHandler(String eventName, DynamicMap eventArguments)
-
Wraps the given event name and arguments in an EventHandler object.
const
Properties
- eventArguments → DynamicMap
-
The payload to provide with the event.
final
- eventName → String
-
A string to identify the event. This provides an unambiguous identifier
for the event, avoiding the need to establish a convention in the
eventArguments.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → SourceRange?
-
The source location that corresponds to this BlobNode, if known.
no setterinherited
Methods
-
associateSource(
SourceRange source) → void -
Assign a SourceRange to this BlobNode's
source
property.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propagateSource(
BlobNode? original) → void -
Assign another BlobNode's SourceRange to this BlobNode's source
property.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited