BackgroundModalOptions constructor
BackgroundModalOptions({
- required bool isVisible,
- required VoidCallback onClose,
- required BackgroundModalParameters parameters,
- Color backgroundColor = const Color(0xFFF5F5F5),
- String position = 'center',
- List<
VirtualBackground> ? customBackgrounds, - bool allowCustomUpload = true,
- bool showColorPicker = true,
- bool showPreview = true,
- ModalRenderMode renderMode = ModalRenderMode.modal,
- bool isDarkMode = false,
Implementation
BackgroundModalOptions({
required this.isVisible,
required this.onClose,
required this.parameters,
this.backgroundColor = const Color(0xFFF5F5F5),
this.position = 'center',
this.customBackgrounds,
this.allowCustomUpload = true,
this.showColorPicker = true,
this.showPreview = true,
this.renderMode = ModalRenderMode.modal,
this.isDarkMode = false,
});