VideoFeed constructor Null safety

const VideoFeed(
  1. {Key? key,
  2. required VideoFeedSource source,
  3. String? channel,
  4. String? playlist,
  5. String? playlistGroup,
  6. VideoFeedMode mode = VideoFeedMode.row,
  7. double? width,
  8. double? height,
  9. VideoFeedConfiguration? videoFeedConfiguration,
  10. VideoPlayerConfiguration? videoPlayerConfiguration,
  11. VideoFeedLoadFinishedCallback? onVideoFeedLoadFinished,
  12. VideoFeedCreatedCallback? onVideoFeedCreated}
)

Implementation

const VideoFeed({
  Key? key,
  required this.source,
  this.channel,
  this.playlist,
  this.playlistGroup,
  this.mode = VideoFeedMode.row,
  this.width,
  this.height,
  this.videoFeedConfiguration,
  this.videoPlayerConfiguration,
  this.onVideoFeedLoadFinished,
  this.onVideoFeedCreated,
}) : super(key: key);