AISmartRepliesConfiguration constructor
AISmartRepliesConfiguration({
- AISmartRepliesStyle? smartRepliesStyle,
- CometChatTheme? theme,
- String? errorStateText,
- String? emptyStateText,
- OnError? onError,
- Widget customView(
- List<
String> replies, - BuildContext context
- List<
- dynamic onClick(
- User? user,
- Group? group,
- dynamic onSuccess(
- Widget,
- bool isLoading,
- BuildContext context
- dynamic onError(
- CometChatException e,
- bool isError,
- BuildContext context
- String? loadingStateText,
- String? loadingIconUrl,
- WidgetBuilder? loadingStateView,
- String? errorIconUrl,
- WidgetBuilder? errorStateView,
- WidgetBuilder? emptyStateView,
- String? emptyIconUrl,
- Future<
Map< apiConfiguration()?,String, dynamic> >
Implementation
AISmartRepliesConfiguration({
this.smartRepliesStyle,
this.theme,
this.errorStateText,
this.emptyStateText,
this.onError,
this.customView,
this.onClick,
this.loadingStateText,
this.loadingIconUrl,
this.loadingStateView,
this.errorIconUrl,
this.errorStateView,
this.emptyStateView,
this.emptyIconUrl,
this.apiConfiguration,
});