SMINumber class
A numeric StateMachine input instance. Use the value property to change the input which will automatically re-activate the StateMachineController if necessary.
Properties
- controller → StateMachineController
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The id of the input within the context of the StateMachine it belongs
to.
no setterinherited
- name → String
-
The name given to this input at design time in Rive.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → SMIType
-
finalinherited
- value ↔ double
-
getter/setter pairinherited
Methods
-
advance(
) → void -
inherited
-
change(
double value) → bool -
Convenience method for changing the backing SMIInput.value of the input.
For SMITrigger it's usually preferable to use the SMITrigger.fire
method to change the input value, but calling change(true) is totally
valid.
inherited
-
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