here I'm trying to create a order completion popup screen. but the [done] animation repeating all the time, i want to stop that after completing the complete frame of the animation. here is my screen
and how can i achieve this, if my question is not clear please comment
CodePudding user response:
LottieBuilder.asset(
'assets/animations/gpay_check.json',
fit: BoxFit.contain,
repeat: false, // add this line
controller: lottieController,
),