CardVideoDisplayOptions constructor
CardVideoDisplayOptions({ - required String remoteProducerId,
- required EventType eventType,
- required bool forceFullDisplay,
- required MediaStream? videoStream,
- Color backgroundColor = Colors.transparent,
- bool doMirror = false,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BoxDecoration? decoration,
- Clip? clipBehavior,
- AlignmentGeometry alignment = Alignment.center,
- BoxConstraints? constraints,
- Widget? placeholder,
- Widget? overlay,
- CardVideoDisplayContainerBuilder? containerBuilder,
- CardVideoDisplayVideoBuilder? videoBuilder,
- bool maintainRendererOnNullStream = false,
- 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),
});