ModernParticipantListOptions constructor

ModernParticipantListOptions({
  1. required List<Participant> participants,
  2. required bool isBroadcast,
  3. required MuteParticipantsType onMuteParticipants,
  4. required MessageParticipantsType onMessageParticipants,
  5. required RemoveParticipantsType onRemoveParticipants,
  6. Socket? socket,
  7. required List<CoHostResponsibility> coHostResponsibility,
  8. required String member,
  9. required String islevel,
  10. ShowAlert? showAlert,
  11. required String coHost,
  12. required String roomName,
  13. required void updateIsMessagesModalVisible(
    1. bool
    ),
  14. required void updateDirectMessageDetails(
    1. Participant?
    ),
  15. required void updateStartDirectMessage(
    1. bool
    ),
  16. required void updateParticipants(
    1. List<Participant>
    ),
  17. bool enableGlassmorphism = true,
  18. bool isDarkMode = true,
  19. bool showDividers = false,
})

Implementation

ModernParticipantListOptions({
  required this.participants,
  required this.isBroadcast,
  required this.onMuteParticipants,
  required this.onMessageParticipants,
  required this.onRemoveParticipants,
  this.socket,
  required this.coHostResponsibility,
  required this.member,
  required this.islevel,
  this.showAlert,
  required this.coHost,
  required this.roomName,
  required this.updateIsMessagesModalVisible,
  required this.updateDirectMessageDetails,
  required this.updateStartDirectMessage,
  required this.updateParticipants,
  // Modern defaults
  this.enableGlassmorphism = true,
  this.isDarkMode = true,
  this.showDividers = false,
});