Title.times constructor

Title.times(
  1. Entity entity, {
  2. Time fadein = const Time(20),
  3. Time display = const Time(60),
  4. Time fadeout = const Time(20),
})

Title.times sets the timings

Implementation

Title.times(
  this.entity, {
  Time fadein = const Time(20),
  Time display = const Time(60),
  Time fadeout = const Time(20),
})  : _type = _TitleType.times,
      show = [],
      times = (fadein, display, fadeout);