AISmartRepliesView constructor

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

Implementation

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