ModernPanelistsModalOptions constructor
ModernPanelistsModalOptions({ - required bool isPanelistsModalVisible,
- required VoidCallback onPanelistsClose,
- required List<Participant> participants,
- required List<Participant> panelists,
- required String member,
- required String islevel,
- Socket? socket,
- required String roomName,
- ShowAlert? showAlert,
- required int itemPageLimit,
- bool panelistsFocused = false,
- bool muteOthersMic = false,
- bool muteOthersCamera = false,
- void updatePanelists(
- List<Participant>
)?,
- void updatePanelistsFocused(
- bool
)?,
- void updateMuteOthersMic(
- bool
)?,
- void updateMuteOthersCamera(
- bool
)?,
- Color? backgroundColor,
- String position = 'topRight',
- bool isDarkMode = true,
- bool enableGlassmorphism = true,
- bool enableGlow = true,
- 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,
});