PhotoViewGalleryPageChangedCallback typedef Null safety

PhotoViewGalleryPageChangedCallback = void Function(int index)

A type definition for a Function that receives a index after a page change in PhotoViewGallery

Implementation

typedef PhotoViewGalleryPageChangedCallback = void Function(int index);