ModernMessagePanelOptions class

Configuration options for the modern message panel.

Constructors

ModernMessagePanelOptions.new({required List<Message> messages, required int messagesLength, required String type, required String username, SendMessageType onSendMessagePress = sendMessage, Color? backgroundColor, 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, bool enableGlassmorphism = true, bool isDarkMode = true, double borderRadius = 16.0})

Properties

backgroundColor Color?
final
borderRadius double
final
chatSetting String
final
coHost String
final
coHostResponsibility List<CoHostResponsibility>
final
directMessageDetails Participant?
final
enableGlassmorphism bool
final
eventType EventType
final
focusedInput bool
final
hashCode int
The hash code for this object.
no setterinherited
isDarkMode bool
final
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