BackgroundModalOptions constructor

BackgroundModalOptions({
  1. required bool isVisible,
  2. required VoidCallback onClose,
  3. required BackgroundModalParameters parameters,
  4. Color backgroundColor = const Color(0xFFF5F5F5),
  5. String position = 'center',
  6. List<VirtualBackground>? customBackgrounds,
  7. bool allowCustomUpload = true,
  8. bool showColorPicker = true,
  9. bool showPreview = true,
  10. ModalRenderMode renderMode = ModalRenderMode.modal,
  11. 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,
});