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