setAspectRatio method
Set video content aspect ratio. No effect if texture width/height == original video frame width/height.
value
can be ignoreAspectRatio, keepAspectRatio, keepAspectRatioCrop and other desired ratio = width/height
Implementation
void setAspectRatio(double value) => _player.ref.setAspectRatio
.asFunction<void Function(Pointer<mdkPlayer>, double, Pointer<Void>)>()(
_player.ref.object,
value,
_getVid(),
);