First thanks for this great package. I'm using it a lot in my app.
In this use case, I want to implement a basic video recording animation, where the start-to-record action should trigger the circular animation, otherwise the circle should be always full (percent = 1)
The problem is the animation is never triggered with this logic . Looking into your class I can see that the animation controller call forward() in the initState() and also inside didUpdateWidget() according this condition :
if (oldWidget.percent != widget.percent ||
oldWidget.startAngle != widget.startAngle)
In my case I'm not updating the percent because in both situation it must be 1 . Then I tried to fake the 'startAngle' change but nothing happen.
What I am suppose to do ? Going to be crazy sounds like I am missing something in global logic
First thanks for this great package. I'm using it a lot in my app.
In this use case, I want to implement a basic video recording animation, where the start-to-record action should trigger the circular animation, otherwise the circle should be always full (percent = 1)
Here is my code :
The problem is the animation is never triggered with this logic . Looking into your class I can see that the animation controller call forward() in the
initState()
and also insidedidUpdateWidget()
according this condition :In my case I'm not updating the percent because in both situation it must be 1 . Then I tried to fake the 'startAngle' change but nothing happen.
What I am suppose to do ? Going to be crazy sounds like I am missing something in global logic
Thanks in advance for any help