Photo constructor

const Photo({
  1. required List<PhotoImage> images,
  2. required double duration,
})

Creates a new instance of Photo.

Implementation

const Photo({
  required this.images,
  required this.duration,
});