setPosition method

void setPosition(
  1. double pos
)

Sets the movie position.

pos movie position.

Implementation

void setPosition(double pos) async {
  await _ensureInitialized();
  if (_isNeedDisposed) return;
  await _vlcApi.setPosition(pos, _textureId);
}