MessagePanelOptions constructor

MessagePanelOptions(
  1. {required List<Message> messages,
  2. required int messagesLength,
  3. required String type,
  4. required String username,
  5. SendMessageType onSendMessagePress = sendMessage,
  6. Color backgroundColor = const Color(0xFFF5F5F5),
  7. bool focusedInput = false,
  8. ShowAlert? showAlert,
  9. required EventType eventType,
  10. required String member,
  11. required String islevel,
  12. required bool startDirectMessage,
  13. Participant? directMessageDetails,
  14. required void updateStartDirectMessage(
    1. bool
    ),
  15. required void updateDirectMessageDetails(
    1. Participant?
    ),
  16. required List<CoHostResponsibility> coHostResponsibility,
  17. required String coHost,
  18. required String roomName,
  19. Socket? socket,
  20. required String chatSetting,
  21. 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,
});