From 63f7a4c5611f3d25812ec8fe041b0800726f90b8 Mon Sep 17 00:00:00 2001 From: Maxwell Talbot Date: Wed, 30 Sep 2020 19:07:03 +0100 Subject: [PATCH] provide access to the animationinstance --- lib/src/controllers/simple_controller.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/controllers/simple_controller.dart b/lib/src/controllers/simple_controller.dart index 790d793..ebac99d 100644 --- a/lib/src/controllers/simple_controller.dart +++ b/lib/src/controllers/simple_controller.dart @@ -11,6 +11,8 @@ class SimpleAnimation extends RiveAnimationController { final String animationName; SimpleAnimation(this.animationName); + LinearAnimationInstance get instance => _instance; + @override bool init(RuntimeArtboard artboard) { var animation = artboard.animations.firstWhere(