CardVideoDisplayOptions constructor

CardVideoDisplayOptions({
  1. required String remoteProducerId,
  2. required EventType eventType,
  3. required bool forceFullDisplay,
  4. required MediaStream? videoStream,
  5. Color backgroundColor = Colors.transparent,
  6. bool doMirror = false,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. BoxDecoration? decoration,
  10. Clip? clipBehavior,
  11. AlignmentGeometry alignment = Alignment.center,
  12. BoxConstraints? constraints,
  13. Widget? placeholder,
  14. Widget? overlay,
  15. CardVideoDisplayContainerBuilder? containerBuilder,
  16. CardVideoDisplayVideoBuilder? videoBuilder,
  17. bool maintainRendererOnNullStream = false,
  18. Duration streamPollInterval = const Duration(milliseconds: 120),
})

Implementation

CardVideoDisplayOptions({
  required this.remoteProducerId,
  required this.eventType,
  required this.forceFullDisplay,
  required this.videoStream,
  this.backgroundColor = Colors.transparent,
  this.doMirror = false,
  this.padding,
  this.margin,
  this.decoration,
  this.clipBehavior,
  this.alignment = Alignment.center,
  this.constraints,
  this.placeholder,
  this.overlay,
  this.containerBuilder,
  this.videoBuilder,
  this.maintainRendererOnNullStream = false,
  this.streamPollInterval = const Duration(milliseconds: 120),
});