StoryView constructor

StoryView({
  1. required List<StoryItem?> storyItems,
  2. required StoryController controller,
  3. VoidCallback? onComplete,
  4. void onStoryShow(
    1. StoryItem storyItem,
    2. int index
    )?,
  5. ProgressPosition progressPosition = ProgressPosition.top,
  6. bool repeat = false,
  7. bool inline = false,
  8. dynamic onVerticalSwipeComplete(
    1. Direction?
    )?,
  9. Color? indicatorColor,
  10. Color? indicatorForegroundColor,
  11. IndicatorHeight indicatorHeight = IndicatorHeight.large,
  12. EdgeInsetsGeometry indicatorOuterPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
})

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,
  this.indicatorHeight = IndicatorHeight.large,
  this.indicatorOuterPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8,),
});