setLooping method

  1. @override
void setLooping(
  1. bool looping
)
override

Implementation

@override
void setLooping(bool looping) {
  if (isInitialized) {
    _videoPlayerController.setLooping(looping);
    configuration = configuration.copyWith(loop: looping);
  }
}