toggleFullscreen method

Future<void> toggleFullscreen()

Toggles the player full screen state. Only use this method on user interaction

Implementation

Future<void> toggleFullscreen() async {
  await _methodChannel.invokeMethod<void>('toggleFullscreen');
}