I want to get the current position of the video being played in real-time. I was thinking of using a listener, but if I do:
_controller.addListener(() => print(_controller.value.position.inMilliseconds))
It only prints the value every 500 milliseconds. This is too slow, the video is updating every 33ms or even more often. Anyone knows why is this happening and what's the proper way of achieving what I want?
P.S. I was able to achieve what I wanted by starting an AnimationController when the video starts, but this seems like a hack.