You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlareControls never stops nor triggers onCompleted()
The problem is line 84 of flare_controls.dart: if (layer.time > layer.animation.duration) { because layer.animation.duration is never lower than layer.time.
In my code fixed it with if (layer.time >= (layer.animation.duration - 0.01)) {
Any better idea on how to fix this? Or should I create a PR straight away with this solution?
The text was updated successfully, but these errors were encountered:
FlareControls never stops nor triggers
onCompleted()
The problem is line 84 of flare_controls.dart:
if (layer.time > layer.animation.duration) {
because layer.animation.duration is never lower than layer.time.In my code fixed it with
if (layer.time >= (layer.animation.duration - 0.01)) {
Any better idea on how to fix this? Or should I create a PR straight away with this solution?
The text was updated successfully, but these errors were encountered: