Props constructor

Props({
  1. required String accountId,
  2. String baseUrl = "app.papercups.io",
  3. CustomerMetadata? customer,
  4. String? greeting,
  5. String newMessagePlaceholder = "Start typing...",
  6. Color? primaryColor,
  7. bool requireEmailUpfront = false,
  8. bool scrollEnabled = true,
  9. String subtitle = "How can we help you?",
  10. String title = "Welcome!",
  11. String companyName = "Bot",
  12. Gradient? primaryGradient,
  13. String enterEmailPlaceholer = "Enter your email",
})

Implementation

Props({
  required this.accountId,
  //this.agentAvailableText,
  //this.agentUnavailableText,
  this.baseUrl = "app.papercups.io",
  this.customer,
  this.greeting,
  this.newMessagePlaceholder = "Start typing...",
  this.primaryColor,
  this.requireEmailUpfront = false,
  this.scrollEnabled = true,
  //this.showAgentAvailability = false,
  this.subtitle = "How can we help you?",
  this.title = "Welcome!",
  this.companyName = "Bot",
  this.primaryGradient,
  this.enterEmailPlaceholer = "Enter your email",
});