UiAction class

Something a button does to the state.

Constructors

UiAction({required String type, required String key, String? value, String? expr})
Creates an action.
const
UiAction.fromJson(Object? json)
Parses an action, rejecting unknown types.
factory

Properties

expr String?
Expression to evaluate, for calc. {{key}} bindings are substituted before evaluation.
final
hashCode int
The hash code for this object.
no setterinherited
key String
The state key this action writes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
set, append, clear, backspace or calc.
final
value String?
Literal value, for set and append.
final

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

Constants

kSupportedActions → const Set<String>
Every action this renderer understands.