ConversationDetailPage constructor
const
ConversationDetailPage({
- Key? key,
- String? title,
- String? subtitle,
- List<
Map< ? messages,String, dynamic> > - List<
Map< ? broadcastData,String, dynamic> > - bool? isSearching,
- String? searchQuery,
- bool? showEmojiPicker,
- TextEditingController? messageController,
- TextEditingController? searchController,
- FocusNode? focusNode,
- VoidCallback? onSendMessage,
- ValueChanged<
String> ? onSearchQueryChanged, - VoidCallback? onToggleEmojiPicker,
- VoidCallback? onToggleSearch,
- VoidCallback? onClearSearch,
- VoidCallback? onBackPressed,
- bool addDemoData = true,
- bool showAppBar = true,
- bool readOnly = false,
- void onReactionSelected()?,
- ValueChanged<
Map< ? onTagChanged,String, dynamic> ?> - List<
String> ? mentionableUsers, - VoidCallback? onBack,
- int? userId,
- ValueChanged<
List< ? onMediaPicked,File> > - bool? showMediaPicker = true,
- bool isLoading = false,
- bool isLoadingMore = false,
- bool hasMoreMessages = true,
- Future<
void> onLoadMoreMessages()?, - ScrollController? scrollController,
- Widget? shimmerPlaceholder,
- bool showDateSeparators = true,
- Widget? emptyPlaceholder,
- String? emptyTitle,
- String? emptySubtitle,
- IconData? emptyIcon,
- bool? showBackButton,
- bool? forceShowBackButton,
Implementation
const ConversationDetailPage({
super.key,
this.title,
this.subtitle,
this.messages,
this.broadcastData,
this.isSearching,
this.searchQuery,
this.showEmojiPicker,
this.messageController,
this.searchController,
this.focusNode,
this.onSendMessage,
this.onSearchQueryChanged,
this.onToggleEmojiPicker,
this.onToggleSearch,
this.onClearSearch,
this.onBackPressed,
this.addDemoData = true,
this.showAppBar = true,
this.readOnly = false,
this.onReactionSelected,
this.onTagChanged,
this.mentionableUsers,
this.onBack,
this.userId,
this.onMediaPicked,
this.showMediaPicker = true,
this.isLoading = false,
this.isLoadingMore = false,
this.hasMoreMessages = true,
this.onLoadMoreMessages,
this.scrollController,
this.shimmerPlaceholder,
this.showDateSeparators = true,
this.emptyPlaceholder,
this.emptyTitle,
this.emptySubtitle,
this.emptyIcon,
this.showBackButton,
this.forceShowBackButton,
});