seekTo method

Future<void> seekTo(
  1. Duration moment
)

跳转

Implementation

Future<void> seekTo(Duration moment) async {
  if (_dispose) {
    return;
  }

  if (videoPlayerValue?.isInitialized == true) {
    await value.videoPlayerController?.seekTo(moment);
  }
}