ModernPanelistsModalOptions constructor

ModernPanelistsModalOptions({
  1. required bool isPanelistsModalVisible,
  2. required VoidCallback onPanelistsClose,
  3. required List<Participant> participants,
  4. required List<Participant> panelists,
  5. required String member,
  6. required String islevel,
  7. Socket? socket,
  8. required String roomName,
  9. ShowAlert? showAlert,
  10. required int itemPageLimit,
  11. bool panelistsFocused = false,
  12. bool muteOthersMic = false,
  13. bool muteOthersCamera = false,
  14. void updatePanelists(
    1. List<Participant>
    )?,
  15. void updatePanelistsFocused(
    1. bool
    )?,
  16. void updateMuteOthersMic(
    1. bool
    )?,
  17. void updateMuteOthersCamera(
    1. bool
    )?,
  18. Color? backgroundColor,
  19. String position = 'topRight',
  20. bool isDarkMode = true,
  21. bool enableGlassmorphism = true,
  22. bool enableGlow = true,
  23. ModalRenderMode renderMode = ModalRenderMode.modal,
})

Implementation

ModernPanelistsModalOptions({
  required this.isPanelistsModalVisible,
  required this.onPanelistsClose,
  required this.participants,
  required this.panelists,
  required this.member,
  required this.islevel,
  this.socket,
  required this.roomName,
  this.showAlert,
  required this.itemPageLimit,
  this.panelistsFocused = false,
  this.muteOthersMic = false,
  this.muteOthersCamera = false,
  this.updatePanelists,
  this.updatePanelistsFocused,
  this.updateMuteOthersMic,
  this.updateMuteOthersCamera,
  this.backgroundColor,
  this.position = 'topRight',
  this.isDarkMode = true,
  this.enableGlassmorphism = true,
  this.enableGlow = true,
  this.renderMode = ModalRenderMode.modal,
});