SetStateHandler class

Description of a state setter in an RFW widget declaration.

This event handler is handled by the RFW Runtime itself by setting the state referenced by stateReference to the value represented by value when the event handler would be invoked.

Inheritance

Constructors

SetStateHandler(AnyStateReference stateReference, Object value)
Wraps the given stateReference and value in a SetStateHandler object.
const

Properties

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
stateReference AnyStateReference
Identifies the member in the widget's state to mutate.
final
value Object
The value to which the specified state will be set.
final

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