FlutterStoryView constructor
FlutterStoryView({
- required VoidCallback onComplete,
- required OnPageChanged onPageChanged,
- VoidCallback? onMenuTapListener,
- UserInfo? userInfo,
- DateTime? createdAt,
- required List<
StoryItem> storyItems, - double? indicatorHeight,
- Color? indicatorColor,
- Color? indicatorValueColor,
- bool? enableOnHoldHide = true,
- bool? showBackIcon = true,
- bool? showMenuIcon = true,
- bool? showReplyButton = true,
- String? replyButtonText = "Reply",
- VoidCallback? onReplyTap,
- EdgeInsets? indicatorPadding = const EdgeInsets.only(top: 40.0),
Implementation
FlutterStoryView({
required this.onComplete,
required this.onPageChanged,
this.caption,
this.onMenuTapListener,
this.userInfo,
this.createdAt,
required this.storyItems,
this.indicatorHeight,
this.indicatorColor,
this.indicatorValueColor,
this.enableOnHoldHide = true,
this.showBackIcon = true,
this.showMenuIcon = true,
this.showReplyButton = true,
this.replyButtonText = "Reply",
this.onReplyTap,
this.indicatorPadding = const EdgeInsets.only(top: 40.0),
});