stop method

Future<void> stop()

Stops the content.

This finishes the current video, and enters an idle state.

This method returns a future that completes as soon as the "stop" command has been sent to the platform, not when the player has stopped its content.

Implementation

Future<void> stop() async {
  await _videoPlayerPlatform.stop(textureId);
}