setLooping method

Future<void> setLooping(
  1. bool looping
)

Sets whether or not the video should loop after playing once.

Implementation

Future<void> setLooping(bool looping) async {
  _throwIfNotInitialized('setLooping');
  value = value.copyWith(isLooping: looping);
  await vlcPlayerPlatform.setLooping(_viewId, looping);
}