VideoCardOptions constructor

VideoCardOptions({
  1. required VideoCardParameters parameters,
  2. required String name,
  3. Color barColor = const Color.fromARGB(255, 232, 46, 46),
  4. Color textColor = const Color.fromARGB(255, 25, 25, 25),
  5. String imageSource = '',
  6. bool roundedImage = false,
  7. Map<String, dynamic> imageStyle = const {},
  8. required String remoteProducerId,
  9. required EventType eventType,
  10. bool forceFullDisplay = false,
  11. required MediaStream? videoStream,
  12. bool showControls = true,
  13. bool showInfo = true,
  14. Widget? videoInfoComponent,
  15. Widget? videoControlsComponent,
  16. String controlsPosition = 'topLeft',
  17. String infoPosition = 'topRight',
  18. required Participant participant,
  19. Color backgroundColor = const Color(0xFF2c678f),
  20. bool doMirror = false,
  21. ControlMediaType controlUserMedia = controlMedia,
  22. VideoCardType? customBuilder,
  23. EdgeInsetsGeometry? containerPadding,
  24. EdgeInsetsGeometry? containerMargin,
  25. AlignmentGeometry? containerAlignment,
  26. BoxDecoration? containerDecoration,
  27. BoxDecoration? overlayDecoration,
  28. EdgeInsetsGeometry? overlayPadding,
  29. BoxDecoration? nameContainerDecoration,
  30. EdgeInsetsGeometry? nameContainerPadding,
  31. TextStyle? nameTextStyle,
  32. VideoCardWrapperBuilder? wrapperBuilder,
  33. VideoCardContainerBuilder? containerBuilder,
  34. VideoCardInfoBuilder? infoBuilder,
  35. VideoCardOverlayBuilder? overlayBuilder,
  36. VideoCardWaveformBuilder? waveformBuilder,
})

Implementation

VideoCardOptions({
  required this.parameters,
  required this.name,
  this.barColor = const Color.fromARGB(255, 232, 46, 46),
  this.textColor = const Color.fromARGB(255, 25, 25, 25),
  this.imageSource = '',
  this.roundedImage = false,
  this.imageStyle = const {},
  required this.remoteProducerId,
  required this.eventType,
  this.forceFullDisplay = false,
  required this.videoStream,
  this.showControls = true,
  this.showInfo = true,
  this.videoInfoComponent,
  this.videoControlsComponent,
  this.controlsPosition = 'topLeft',
  this.infoPosition = 'topRight',
  required this.participant,
  this.backgroundColor = const Color(0xFF2c678f),
  this.doMirror = false,
  this.controlUserMedia = controlMedia,
  this.customBuilder,
  this.containerPadding,
  this.containerMargin,
  this.containerAlignment,
  this.containerDecoration,
  this.overlayDecoration,
  this.overlayPadding,
  this.nameContainerDecoration,
  this.nameContainerPadding,
  this.nameTextStyle,
  this.wrapperBuilder,
  this.containerBuilder,
  this.infoBuilder,
  this.overlayBuilder,
  this.waveformBuilder,
});