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