StoryView constructor
StoryView(
- List<
StoryItem?> storyItems, { - StoryController? controller,
- VoidCallback? onComplete,
- VoidCallback? goForward,
- ValueChanged<
StoryItem> ? onStoryShow, - ProgressPosition progressPosition = ProgressPosition.top,
- bool repeat = false,
- bool inline = false,
Implementation
StoryView(
this.storyItems, {
this.controller,
this.onComplete,
this.goForward,
this.onStoryShow,
this.progressPosition = ProgressPosition.top,
this.repeat = false,
this.inline = false,
}) : assert(
storyItems.length > 0, "[storyItems] should not be null or empty");