AIConversationStarterView constructor

const AIConversationStarterView({
  1. Key? key,
  2. User? user,
  3. Group? group,
  4. AIConversationStarterStyle? aiConversationStarterStyle,
  5. String? emptyStateText,
  6. String? errorStateText,
  7. CometChatTheme? theme,
  8. Widget customView(
    1. List<String> replies,
    2. BuildContext context
    )?,
  9. String? loadingStateText,
  10. String? loadingIconUrl,
  11. WidgetBuilder? loadingStateView,
  12. String? errorIconUrl,
  13. WidgetBuilder? errorStateView,
  14. WidgetBuilder? emptyStateView,
  15. String? emptyIconUrl,
  16. String? loadingIconPackageName,
  17. String? emptyIconPackageName,
  18. String? errorIconPackageName,
  19. Map<String, dynamic>? apiConfiguration,
})

Implementation

const AIConversationStarterView(
    {super.key,
    this.user,
    this.group,
    this.aiConversationStarterStyle,
    this.emptyStateText,
    this.errorStateText,
    this.theme,
    this.customView,
    this.loadingStateText,
    this.loadingIconUrl,
    this.loadingStateView,
    this.errorIconUrl,
    this.errorStateView,
    this.emptyStateView,
    this.emptyIconUrl,
    this.loadingIconPackageName,
    this.emptyIconPackageName,
    this.errorIconPackageName,
    this.apiConfiguration});