StoryBlock constructor

const StoryBlock(
  1. {Key? key,
  2. required StoryBlockSource source,
  3. String? channel,
  4. String? playlist,
  5. Map<String, List<String>>? dynamicContentParameters,
  6. String? hashtagFilterExpression,
  7. List<String>? productIds,
  8. String? contentId,
  9. bool? enablePictureInPicture,
  10. double? cornerRadius,
  11. AdConfiguration? adConfiguration,
  12. StoryBlockConfiguration? storyBlockConfiguration,
  13. double? width,
  14. double? height,
  15. bool? wantKeepAlive,
  16. StoryBlockCreatedCallback? onStoryBlockCreated,
  17. StoryBlockLoadFinishedCallback? onStoryBlockLoadFinished,
  18. StoryBlockEmptyCallback? onStoryBlockEmpty,
  19. StoryBlockDidStartPictureInPicture? onStoryBlockDidStartPictureInPicture,
  20. StoryBlockDidStopPictureInPicture? onStoryBlockDidStopPictureInPicture,
  21. StoryBlockGetFeedIdCallback? onStoryBlockGetFeedId}
)

Implementation

const StoryBlock({
  Key? key,
  required this.source,
  this.channel,
  this.playlist,
  this.dynamicContentParameters,
  this.hashtagFilterExpression,
  this.productIds,
  this.contentId,
  this.enablePictureInPicture,
  this.cornerRadius,
  this.adConfiguration,
  this.storyBlockConfiguration,
  this.width,
  this.height,
  this.wantKeepAlive,
  this.onStoryBlockCreated,
  this.onStoryBlockLoadFinished,
  this.onStoryBlockEmpty,
  this.onStoryBlockDidStartPictureInPicture,
  this.onStoryBlockDidStopPictureInPicture,
  this.onStoryBlockGetFeedId,
}) : super(key: key);