Subtitle constructor

const Subtitle({
  1. required Duration startTime,
  2. required Duration endTime,
  3. required String text,
})

Implementation

const Subtitle({
  required this.startTime,
  required this.endTime,
  required this.text,
});