StoryItem constructor

StoryItem(
  1. Widget view, {
  2. required Duration duration,
  3. bool shown = false,
})

Implementation

StoryItem(
  this.view, {
  required this.duration,
  this.shown = false,
});