seek method
跳转播放位置
Seek to a specific position in the video.
position
The target playback position.
Implementation
void seek(Duration position) {
currentPositionNotifier.value = position;
_aliPlayer.seekTo(
position.inMilliseconds,
_widgetData?.seekMode ?? FlutterAvpdef.ACCURATE,
);
}