This commit is contained in:
2025-02-21 08:20:41 +01:00
parent 1be6b0681f
commit ff9636b75b
330 changed files with 0 additions and 36926 deletions
-11
View File
@@ -1,11 +0,0 @@
import 'package:rive/rive.dart';
class RiveUtils {
static StateMachineController getRiveController(Artboard artboard,
{stateMachineName = "State Machine 1"}) {
StateMachineController? controller =
StateMachineController.fromArtboard(artboard, stateMachineName);
artboard.addController(controller!);
return controller;
}
}