addVideosController method

dynamic addVideosController()

Implementation

addVideosController() async {
  for (var i = 0; i < videoList.length; i++) {
    String videoFile = videoList[i];
    final controller = await videoControllerService.getControllerForVideo(
        videoFile, isCaching);
    videoPlayerControllerList.add(controller);
  }
}