setVideoViewport method

void setVideoViewport(
  1. double x,
  2. double y,
  3. double width,
  4. double height, {
  5. Object? vid,
})

Implementation

void setVideoViewport(double x, double y, double width, double height,
        {Object? vid}) =>
    _player.ref.setVideoViewport.asFunction<
            void Function(Pointer<mdkPlayer>, double, double, double, double,
                Pointer<Void>)>()(_player.ref.object, x, y, width, height,
        Pointer.fromAddress(vid.hashCode));