position property

Future<Duration?> get position

The position in the current video.

Implementation

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