ParticipantsModalOptions constructor

ParticipantsModalOptions({
  1. required bool isParticipantsModalVisible,
  2. required VoidCallback onParticipantsClose,
  3. required ValueChanged<String> onParticipantsFilterChange,
  4. required int participantsCounter,
  5. MuteParticipantsType onMuteParticipants = muteParticipants,
  6. MessageParticipantsType onMessageParticipants = messageParticipants,
  7. RemoveParticipantsType onRemoveParticipants = removeParticipants,
  8. ParticipantListType RenderParticipantList = defaultParticipantList,
  9. ParticipantListOthersType RenderParticipantListOthers = defaultParticipantListOthers,
  10. Color backgroundColor = const Color(0xFF83C0E9),
  11. String position = 'topRight',
  12. required ParticipantsModalParameters parameters,
  13. ParticipantsModalStyleOptions? styles,
  14. Widget? title,
  15. Widget? emptyState,
  16. ParticipantsModalHeaderBuilder? headerBuilder,
  17. ParticipantsModalSearchBuilder? searchBuilder,
  18. ParticipantsModalListsBuilder? listsBuilder,
  19. ParticipantsModalBodyBuilder? bodyBuilder,
  20. ParticipantsModalContentBuilder? contentBuilder,
})

Implementation

ParticipantsModalOptions({
  required this.isParticipantsModalVisible,
  required this.onParticipantsClose,
  required this.onParticipantsFilterChange,
  required this.participantsCounter,
  this.onMuteParticipants = muteParticipants,
  this.onMessageParticipants = messageParticipants,
  this.onRemoveParticipants = removeParticipants,
  this.RenderParticipantList = defaultParticipantList,
  this.RenderParticipantListOthers = defaultParticipantListOthers,
  this.backgroundColor = const Color(0xFF83C0E9),
  this.position = 'topRight',
  required this.parameters,
  this.styles,
  this.title,
  this.emptyState,
  this.headerBuilder,
  this.searchBuilder,
  this.listsBuilder,
  this.bodyBuilder,
  this.contentBuilder,
});