stop method

Future<void> stop()

Unload the currently loaded video from the player.

Implementation

Future<void> stop() async {
  _stopPositionTimer();
  await _channel!.invokeMethod("stop");
  notifyListeners();
}