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. double? width,
  7. double? height,
  8. bool? enablePictureInPicture,
  9. StoryBlockLoadFinishedCallback? onStoryBlockLoadFinished}
)

Implementation

const StoryBlock({
  Key? key,
  required this.source,
  this.channel,
  this.playlist,
  this.dynamicContentParameters,
  this.width,
  this.height,
  this.enablePictureInPicture,
  this.onStoryBlockLoadFinished,
}) : super(key: key);