Closed MeTubeapp closed 4 years ago
hey bro i got the solution.. now i am using code like this
ontimeupdate: (dynamic value) { print("timeupdate $value"); var position = value.position.inMilliseconds / 1000; print(position); }, now error is gone,,,,
hey bro i m using ontimeupdate same as master branch in your next branch and this give me error type '(VideoPlayerValue) => Null' is not a subtype of type '(dynamic) => void' Another exception was thrown: type '(VideoPlayerValue) => Null' is not a subtype of type '(dynamic) => void' and my code is ontimeupdate: (value) { print("timeupdate $value"); var position = value.position.inMilliseconds / 1000; print(position); },