setVideoViewport method

void setVideoViewport(
  1. double x,
  2. double y,
  3. double width,
  4. double height,
)

Implementation

void setVideoViewport(double x, double y, double width, double height) =>
    _player.ref.setVideoViewport.asFunction<
            void Function(Pointer<mdkPlayer>, double, double, double, double,
                Pointer<Void>)>()(
        _player.ref.object, x, y, width, height, Pointer.fromAddress(0));