StoryBlock constructor
const
StoryBlock(- {Key? key,
- required StoryBlockSource source,
- String? channel,
- String? playlist,
- Map<String, List<String>>? dynamicContentParameters,
- String? hashtagFilterExpression,
- List<String>? productIds,
- String? contentId,
- bool? enablePictureInPicture,
- double? cornerRadius,
- AdConfiguration? adConfiguration,
- StoryBlockConfiguration? storyBlockConfiguration,
- double? width,
- double? height,
- bool? wantKeepAlive,
- StoryBlockCreatedCallback? onStoryBlockCreated,
- StoryBlockLoadFinishedCallback? onStoryBlockLoadFinished,
- StoryBlockEmptyCallback? onStoryBlockEmpty,
- StoryBlockDidStartPictureInPicture? onStoryBlockDidStartPictureInPicture,
- StoryBlockDidStopPictureInPicture? onStoryBlockDidStopPictureInPicture,
- 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);