setVideoScale method
Set the video scale type, by default, scaletype is set to ScaleType.SURFACE_BEST_FIT ScaleType to rule the video surface filling
Implementation
void setVideoScale(ScaleType type) async {
await _ensureInitialized();
if (_isNeedDisposed) return;
await _vlcApi.setVideoScale(_textureId, type.index);
}