StoryView constructor

StoryView({
  1. required List<StoryItem?> storyItems,
  2. required StoryController controller,
  3. VoidCallback? onComplete,
  4. ValueChanged<StoryItem>? onStoryShow,
  5. ProgressPosition progressPosition = ProgressPosition.top,
  6. bool repeat = false,
  7. bool inline = false,
  8. dynamic onVerticalSwipeComplete(
    1. Direction?
    )?,
  9. Color? indicatorColor,
  10. Color? indicatorForegroundColor,
})

Implementation

StoryView({
  required this.storyItems,
  required this.controller,
  this.onComplete,
  this.onStoryShow,
  this.progressPosition = ProgressPosition.top,
  this.repeat = false,
  this.inline = false,
  this.onVerticalSwipeComplete,
  this.indicatorColor,
  this.indicatorForegroundColor,
});