PhotoViewGalleryScreen constructor
PhotoViewGalleryScreen({
- Key? key,
- required List images,
- required int index,
- PageController? controller,
- String heroTag = "",
Implementation
PhotoViewGalleryScreen(
{Key? key,
required this.images,
required this.index,
this.controller,
this.heroTag = ""})
: super(key: key) {
controller = PageController(initialPage: index);
}