SMIBool class Null safety

A boolean StateMachine input instance. Use the value property to change the input which will automatically re-activate the StateMachineController if necessary.

Inheritance

Properties

controller StateMachineController
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The id of the input within the context of the StateMachine it belongs to.
read-only, inherited
name String
The name given to this input at design time in Rive.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type SMIType
final, inherited
value bool
read / write, inherited

Methods

advance() → void
@protected, inherited
change(bool 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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited