FlutterStoryView constructor

FlutterStoryView({
  1. required VoidCallback onComplete,
  2. required OnPageChanged onPageChanged,
  3. String? caption,
  4. VoidCallback? onMenuTapListener,
  5. UserInfo? userInfo,
  6. DateTime? createdAt,
  7. required List<StoryItem> storyItems,
  8. double? indicatorHeight,
  9. Color? indicatorColor,
  10. Color? indicatorValueColor,
  11. bool? enableOnHoldHide = true,
  12. bool? showBackIcon = true,
  13. bool? showMenuIcon = true,
  14. bool? showReplyButton = true,
  15. String? replyButtonText = "Reply",
  16. VoidCallback? onReplyTap,
  17. 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),
});