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
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);
},
The text was updated successfully, but these errors were encountered:
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);
},
The text was updated successfully, but these errors were encountered: