MessagesModalOptions constructor
MessagesModalOptions(- {required bool isMessagesModalVisible,
- required VoidCallback onMessagesClose,
- SendMessageType onSendMessagePress = sendMessage,
- required List<Message> messages,
- String position = 'topRight',
- Color backgroundColor = const Color(0xFFF5F5F5),
- Color activeTabBackgroundColor = const Color.fromARGB(255, 150, 231, 236),
- required EventType eventType,
- required String member,
- required String islevel,
- required List<CoHostResponsibility> coHostResponsibility,
- required String coHost,
- required bool startDirectMessage,
- Participant? directMessageDetails,
- required dynamic updateStartDirectMessage(
- bool
),
- required dynamic updateDirectMessageDetails(
- Participant?
),
- required String roomName,
- Socket? socket,
- required String chatSetting,
- ShowAlert? showAlert}
)
Implementation
MessagesModalOptions({
required this.isMessagesModalVisible,
required this.onMessagesClose,
this.onSendMessagePress = sendMessage,
required this.messages,
this.position = 'topRight',
this.backgroundColor = const Color(0xFFF5F5F5),
this.activeTabBackgroundColor = const Color.fromARGB(255, 150, 231, 236),
required this.eventType,
required this.member,
required this.islevel,
required this.coHostResponsibility,
required this.coHost,
required this.startDirectMessage,
this.directMessageDetails,
required this.updateStartDirectMessage,
required this.updateDirectMessageDetails,
required this.roomName,
this.socket,
required this.chatSetting,
this.showAlert,
});