mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-07-15 06:30:53 +08:00
provide access to the animationinstance
This commit is contained in:
@ -11,6 +11,8 @@ class SimpleAnimation extends RiveAnimationController<RuntimeArtboard> {
|
|||||||
final String animationName;
|
final String animationName;
|
||||||
SimpleAnimation(this.animationName);
|
SimpleAnimation(this.animationName);
|
||||||
|
|
||||||
|
LinearAnimationInstance get instance => _instance;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool init(RuntimeArtboard artboard) {
|
bool init(RuntimeArtboard artboard) {
|
||||||
var animation = artboard.animations.firstWhere(
|
var animation = artboard.animations.firstWhere(
|
||||||
|
Reference in New Issue
Block a user