BackgroundPreviewWidget constructor
const
BackgroundPreviewWidget({
- Key? key,
- VirtualBackground? selectedBackground,
- MediaStream? existingStream,
- bool isEnabled = true,
- double? width,
- double? height,
- VoidCallback? onPreviewReady,
- void onError(
- String error
Implementation
const BackgroundPreviewWidget({
super.key,
this.selectedBackground,
this.existingStream,
this.isEnabled = true,
this.width,
this.height,
this.onPreviewReady,
this.onError,
});