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.instance.getPosition(_textureId);
}