From the callback event, it can be seen that the animation is running, but nothing is displayed on the page and there are no error prompts. What should I do
This is my animation file
Widget build(BuildContext context) {
final controller = SpineWidgetController(onInitialized: (controller) {
// Set the walk animation on track 0, let it loop
controller.animationState
.setAnimationByName(0, "jackpot", true)
.setListener((type, trackEntry, event) {
print("jackpot animation event $type");
});
print(
"Current: ${controller.animationState.getCurrent(0)?.getAnimation().getName()}");
});
return Container(
width: double.infinity,
height: 300,
//color: Colors.blue,
child: SpineWidget.fromAsset("assets/spine/jackpot.atlas",
"assets/spine/jackpot.json", controller),
);