AssistantApiKeyConfig constructor

const AssistantApiKeyConfig({
  1. bool showCloseButtons = true,
  2. bool showNewConversationButton = true,
  3. bool forceFullMode = false,
  4. String privacyPolicyURL = '',
  5. String termsOfServiceURL = '',
  6. int maxMessagePerConversation = 20,
  7. String tooManyMessageErrorText = '',
  8. int webComponentOpenerSize = 70,
  9. String position = 'right',
  10. int marginBottom = 10,
  11. required List<String> chatEngagementPrompts,
  12. ApiKeyEngagementPromptMode chatEngagementPromptMode = ApiKeyEngagementPromptMode.rotate,
  13. int chatEngagementPromptRotateTime = 5,
  14. bool engagementSound = true,
  15. bool hidePupauBranding = false,
  16. String headerColor = '#15559d',
})

Implementation

const AssistantApiKeyConfig({
  this.showCloseButtons = true,
  this.showNewConversationButton = true,
  this.forceFullMode = false,
  this.privacyPolicyURL = '',
  this.termsOfServiceURL = '',
  this.maxMessagePerConversation = 20,
  this.tooManyMessageErrorText = '',
  this.webComponentOpenerSize = 70,
  this.position = 'right',
  this.marginBottom = 10,
  required this.chatEngagementPrompts,
  this.chatEngagementPromptMode = ApiKeyEngagementPromptMode.rotate,
  this.chatEngagementPromptRotateTime = 5,
  this.engagementSound = true,
  this.hidePupauBranding = false,
  this.headerColor = '#15559d',
});