onProgressDragUpdate method
Implementation
void onProgressDragUpdate(double relative) async {
if (_dispose) {
return;
}
if (videoPlayerValue?.isInitialized == true) {
final Duration position = (videoPlayerValue?.duration ?? Duration.zero) * relative;
await seekTo(position);
}
}