A Rive View Model as created in the Rive editor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceCount → int
-
The number of view model instances in the view model
no setter
- name → String
-
The name of the view model
no setter
-
properties
→ List<
ViewModelProperty> -
A list of ViewModelProperty that makes up the view model
no setter
- propertyCount → int
-
The number of properties in the view model
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createDefaultInstance(
) → ViewModelInstance? - Return the default view model instance
-
createInstance(
) → ViewModelInstance? - Returns an empty/new view model instance
-
createInstanceByIndex(
int index) → ViewModelInstance? -
Returns a view model instance by the given
index
-
createInstanceByName(
String name) → ViewModelInstance? -
Returns a view model instance by the given
name
-
dispose(
) → void - Disposes of the view model and cleans up underlying native resources
-
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