VideoCardOptions constructor
VideoCardOptions(- {required VideoCardParameters parameters,
- required String name,
- Color barColor = const Color.fromARGB(255, 232, 46, 46),
- Color textColor = const Color.fromARGB(255, 25, 25, 25),
- String imageSource = '',
- bool roundedImage = false,
- Map<String, dynamic> imageStyle = const {},
- required String remoteProducerId,
- required EventType eventType,
- bool forceFullDisplay = false,
- required MediaStream? videoStream,
- bool showControls = true,
- bool showInfo = true,
- Widget? videoInfoComponent,
- Widget? videoControlsComponent,
- String controlsPosition = 'topLeft',
- String infoPosition = 'topRight',
- required Participant participant,
- Color backgroundColor = const Color(0xFF2c678f),
- bool doMirror = false,
- 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,
});