ChatConfig constructor

ChatConfig({
  1. int imageMaxCount = 9,
  2. String? inputBoxHintText,
  3. String? failedToSendText,
  4. String? photoPermissionDeniedText,
  5. String? photoPermissionDeniedButtonText,
  6. LoadingIndicatorType loadingIndicatorType = LoadingIndicatorType.sendBtnLoading,
  7. bool showUnreadCount = false,
  8. MessageAlignment messageAlignment = MessageAlignment.center,
})

The constructor of the chat config.

Implementation

ChatConfig({
  this.imageMaxCount = 9,
  this.inputBoxHintText,
  this.failedToSendText,
  this.photoPermissionDeniedText,
  this.photoPermissionDeniedButtonText,
  this.loadingIndicatorType = LoadingIndicatorType.sendBtnLoading,
  this.showUnreadCount = false,
  this.messageAlignment = MessageAlignment.center,
});