setLooping method
Sets whether or not the video should loop after playing once.
Implementation
Future<void> setLooping(bool looping) async {
if (_isDisposed) {
return;
}
await videoPlayerController.setLooping(looping);
value = value.copyWith(videoPlayerValue: videoPlayerController.value);
}