Props constructor
Props({
- required String accountId,
- String baseUrl = "app.papercups.io",
- CustomerMetadata? customer,
- String? greeting,
- String newMessagePlaceholder = "Start typing...",
- Color? primaryColor,
- bool requireEmailUpfront = false,
- bool scrollEnabled = true,
- String subtitle = "How can we help you?",
- String title = "Welcome!",
- String companyName = "Bot",
- Gradient? primaryGradient,
- 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",
});