RiveSceneController class abstract
An abstraction for controlling the composition and rendering of a Rive scene.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offsetViewTransform → bool
-
Whether the draw callback's view transform should be translated by the
rendering widgets local offset.
no setter
- redraw → ChangeNotifier
-
SceneController uses this to notify that it needs to be re-drawn.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
no setter
Methods
-
advance(
double elapsedSeconds) → bool - Called by the scene, return true to keep advancing or false to stop.
-
draw(
Canvas canvas, Mat2D viewTransform) → void - Called by the scene to draw the contents.
-
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