MessagePanelOptions class
MessagePanelOptions - Encapsulates all parameters and callbacks for MessagePanel.
Constructors
-
MessagePanelOptions({required List<
Message> messages, required int messagesLength, required String type, required String username, SendMessageType onSendMessagePress = sendMessage, Color backgroundColor = const Color(0xFFF5F5F5), bool focusedInput = false, ShowAlert? showAlert, required EventType eventType, required String member, required String islevel, required bool startDirectMessage, Participant? directMessageDetails, required void updateStartDirectMessage(bool), required void updateDirectMessageDetails(Participant?), required List<CoHostResponsibility> coHostResponsibility, required String coHost, required String roomName, Socket? socket, required String chatSetting, required bool youAreCoHost})
Properties
- backgroundColor → Color
-
final
- chatSetting → String
-
final
- coHost → String
-
final
-
coHostResponsibility
→ List<
CoHostResponsibility> -
final
- directMessageDetails → Participant?
-
final
- eventType → EventType
-
final
- focusedInput → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- islevel → String
-
final
- member → String
-
final
-
messages
→ List<
Message> -
final
- messagesLength → int
-
final
- onSendMessagePress → SendMessageType
-
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAlert → ShowAlert?
-
final
- socket → Socket?
-
final
- startDirectMessage → bool
-
final
- type → String
-
final
- updateDirectMessageDetails → void Function(Participant?)
-
final
- updateStartDirectMessage → void Function(bool)
-
final
- username → String
-
final
- youAreCoHost → 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