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}
)

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,
});