seek method

Future<void> seek(
  1. double progress
)

Seek to the specified playback position and start playing. @param progress target playback time in seconds

Implementation

Future<void> seek(double progress) async {
  if (_isNeedDisposed) return;
  await _initPlayer.future;
  await _mc!.invoke<void>('seek', {'value': progress});
}