PhotoViewGalleryScreen constructor

PhotoViewGalleryScreen({
  1. Key? key,
  2. required List images,
  3. required int index,
  4. PageController? controller,
  5. String heroTag = "",
})

Implementation

PhotoViewGalleryScreen(
    {Key? key,
    required this.images,
    required this.index,
    this.controller,
    this.heroTag = ""})
    : super(key: key) {
  controller = PageController(initialPage: index);
}