pause method
Pauses the video.
Implementation
Future<void> pause() async {
value = value.copyWith(isPlaying: false);
await _applyPlayPause();
if (onPause != null) onPause!();
}
Pauses the video.
Future<void> pause() async {
value = value.copyWith(isPlaying: false);
await _applyPlayPause();
if (onPause != null) onPause!();
}