setScale method

void setScale(
  1. double scale
)

Set the video scaling factor

That is the ratio of the number of pixels on screen to the number of pixels in the original decoded video in each dimension. Zero is a special value; it will adjust the video to the output window/drawable (in windowed mode) or the entire screen.

scale the scaling factor, or zero

Implementation

void setScale(double scale) async {
  await _ensureInitialized();
  if(_isNeedDisposed) return ;
  await _vlcApi.setScale(scale,_textureId);
}