RiveFile class

Constructors

RiveFile()

Properties

artboards List<Artboard>
Returns all artboards in the file
read-only
backboard → Backboard
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
read-only
mainArtboard Artboard
Returns the first (main) artboard
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

artboardByName(String name) Artboard
Returns an artboard from the specified name, or null if no artboard with that name exists in the file
import(ByteData bytes) bool
Imports a Rive file from an array of bytes. Returns true if successfully imported, false otherwise.
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