setSize method

Future<void> setSize({
  1. int? width,
  2. int? height,
})

Set a different size to the videoplayer

May lack in perfomance

Implementation

Future<void> setSize({int? width, int? height}) async =>
    await _controller.setSize(
      height: height,
      width: width,
    );