StoryBlock constructor Null safety

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. StoryBlockCreatedCallback? onStoryBlockCreated,
  16. StoryBlockLoadFinishedCallback? onStoryBlockLoadFinished,
  17. StoryBlockFullScreenStateChanged? onStoryBlockFullScreenStateChanged}
)

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.onStoryBlockCreated,
  this.onStoryBlockLoadFinished,
  this.onStoryBlockFullScreenStateChanged,
}) : super(key: key);