getAspectRatio method

Future<String> getAspectRatio()

Get current video aspect ratio

return the video aspect ratio or NULL if unspecified

Implementation

Future<String> getAspectRatio() async {
  await _ensureInitialized();
  if(_isNeedDisposed) return '';
  return await _vlcApi.getAspectRatio(_textureId);
}