Gallery constructor

const Gallery({
  1. Key? key,
  2. required int index,
  3. required List<Media> medias,
  4. required MediaCollectionTheme theme,
})

Implementation

const Gallery({
  Key? key,
  required this.index,
  required this.medias,
  required this.theme,
}) : super(key: key);