PreviewController constructor

PreviewController({
  1. int? currentImage,
  2. List<String>? filesPath,
})

Implementation

PreviewController({int? currentImage, List<String>? filesPath})
    : super(currentImage == null && filesPath == null
          ? PreviewEditingValue.empty
          : new PreviewEditingValue(
              currentImage: currentImage, filesPath: filesPath));