ParticipantListOptions class
ParticipantListOptions
defines the configuration options for the ParticipantList
widget,
including participant data, actions, and session details.
Parameters:
participants
: The list of participants to display.isBroadcast
: Indicates if this is a broadcast session.onMuteParticipants
,onMessageParticipants
,onRemoveParticipants
: Callbacks for participant actions.socket
: The socket for real-time interaction.coHostResponsibility
,member
,islevel
,coHost
,roomName
: Session-specific details.showAlert
,updateIsMessagesModalVisible
,updateDirectMessageDetails
,updateStartDirectMessage
,updateParticipants
: Functions for updating state and providing feedback.
Constructors
-
ParticipantListOptions({required List<
Participant> participants, required bool isBroadcast, required MuteParticipantsType onMuteParticipants, required MessageParticipantsType onMessageParticipants, required RemoveParticipantsType onRemoveParticipants, Socket? socket, required List<CoHostResponsibility> coHostResponsibility, required String member, required String islevel, ShowAlert? showAlert, required String coHost, required String roomName, required void updateIsMessagesModalVisible(bool), required void updateDirectMessageDetails(Participant?), required void updateStartDirectMessage(bool), required void updateParticipants(List<Participant> )})
Properties
- coHost → String
-
final
-
coHostResponsibility
→ List<
CoHostResponsibility> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBroadcast → bool
-
final
- islevel → String
-
final
- member → String
-
final
- onMessageParticipants → MessageParticipantsType
-
final
- onMuteParticipants → MuteParticipantsType
-
final
- onRemoveParticipants → RemoveParticipantsType
-
final
-
participants
→ List<
Participant> -
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAlert → ShowAlert?
-
final
- socket → Socket?
-
final
- updateDirectMessageDetails → void Function(Participant?)
-
final
- updateIsMessagesModalVisible → void Function(bool)
-
final
-
updateParticipants
→ void Function(List<
Participant> ) -
final
- updateStartDirectMessage → void Function(bool)
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited