StoryView constructor
StoryView({
- required List<
StoryItem?> storyItems, - required StoryController controller,
- VoidCallback? onComplete,
- ValueChanged<
StoryItem> ? onStoryShow, - ProgressPosition progressPosition = ProgressPosition.top,
- bool repeat = false,
- bool inline = false,
- dynamic onVerticalSwipeComplete()?,
- Color? indicatorColor,
- 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,
});