MessagePanelOptions constructor
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}
)
Implementation
MessagePanelOptions({
required this.messages,
required this.messagesLength,
required this.type,
required this.username,
this.onSendMessagePress = sendMessage,
this.backgroundColor = const Color(0xFFF5F5F5),
this.focusedInput = false,
this.showAlert,
required this.eventType,
required this.member,
required this.islevel,
required this.startDirectMessage,
this.directMessageDetails,
required this.updateStartDirectMessage,
required this.updateDirectMessageDetails,
required this.coHostResponsibility,
required this.coHost,
required this.roomName,
this.socket,
required this.chatSetting,
required this.youAreCoHost,
});