position property

Future<Duration?> get position

The position in the current video.

Implementation

Future<Duration?> get position async {
  if (_isDisposed) {
    return null;
  }
  return await _videoPlayerPlatform.getPosition(_textureId);
}