ResponseInput class Input

Encapsulates the result of processing an input event.

A ResponseInput specifies whether an event was handled, any response commands to execute, and optionally which ComponentInstances need to be re-rendered.

Constructors

ResponseInput.new({required ResponseCommands commands, required bool handled, List<ComponentInstance>? dirty})
Creates a ResponseInput with the given parameters.
const

Properties

commands ResponseCommands
The command to be executed after processing the event.
final
dirty List<ComponentInstance>?
The list of ComponentInstances that require a redraw.
final
handled bool
Indicates whether the event was handled.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

ignored() ResponseInput
Creates a ResponseInput indicating the event was ignored.